Snippet copy is now a web extension! This means you can now also use it in browser-based versions of VS Code, for example https://github.dev/lumaxis/snippet-copy
First stable release 🎉
- Exclude unnecessary files from published file, reducing its size.
- Rename VS Code commands to be shorter and more concise.
Copy Snippet Without Leading Indentation
is nowCopy Snippet
Copy Snippet Without Leading Indentation as Markdown Code Block
is nowCopy Snippet as Markdown Code Block
- Improve configuration options for Markdown code blocks
- Add
markdownCodeBlock.includeLanguageIdentifier
configuration option for Markdown block behavior. This replacessnippet-copy.addLanguageIdentifierToMarkdownBlock
. - Allows to set whether Markdown blocks should always include the language identifier which allows for syntax highlighting in some tools (for example github.com) but is not compatible with others (for example Slack).
- The default is "
prompt
" which makes the extension always prompt when using the "Copy Snippet as Markdown Code Block" command.
- Add
- Add configuration setting to convert tabs to spaces when copying snippet. Additionally allows to configure the tab size for the conversion.
- Use absolute image links
Quick update to rename the default branch to "main"
- Ignore empty or whitespace-only lines when calculating minimum indentation of the snippet (#17)
- Fix banner color in VS Code Marketplace
- Improve setup to keep third-party dependencies up-to-date
- Improve development setup by launching debug session without other extensions
- The extension now has a shiny new icon! Thanks @dipree 🙌🏼
- Add additional command to copy snippet with surrounding Markdown code block syntax
The command is calledCopy Snippet Without Leading Indentation as Markdown Code Block
in the Command Palette and its default keyboard shortcut isWin/Meta/Cmd+Ctrl+Shift+c
- Add configuration option to add language identifier to Markdown code blocks
This option can be found under the identifiersnippet-copy.addLanguageIdentifierToMarkdownBlock
and its default isfalse
. - Add support for copying snippets from multiple selections
- Increase automatic testing to improve stability
- Update third-party dependencies
- Fix an issue with copied text when CRLF is used (#1)
Initial release
- Copy text via keyboard shortcut
- Copy text via command palette
- Copy text via context menu