Releases: lumaxis/snippet-copy
Releases · lumaxis/snippet-copy
v2.0.0
What's Changed
New! ✨
- Add compatibility with browser-based versions of VS Code by @lumaxis in #280
NB: While not technically a breaking change (the feature set remains the same), this was a significant rewrite, so please look out if anything seems off and report any issues 🙏🏼
Full Changelog: v1.0.0...v2.0.0
v1.0.0
v0.3.1
v0.3.0
Features
- 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.
v0.2.3
v0.2.2
v0.2.1
Fixes
- Ignore empty or whitespace-only lines when calculating minimum indentation of the snippet (#17)
- Fix banner color in VS Code Marketplace
Chore
- Improve setup to keep third-party dependencies up-to-date
- Improve development setup by launching debug session without other extensions
v0.2.0
Features
- 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
Chores
- Increase automatic testing to improve stability
- Update third-party dependencies