Repository navigation
v0.44.0
·
530 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
✨ Features
- Live templates: an abbreviation such as
log,foreoritarexpands with Tab into a snippet with fields, in the languages and places (code, comments, strings) it is made for. Insert Live Template (Mod+J) lists the templates that apply at the caret, and Save as Live Template hands the selection to the host as a draft. Templates also appear in the completion list. A host supplies its own templates throughTemplateRegistry. - Surround With (
Mod+Alt+T) wraps the selection or the line inif,while,try, a block,(expr)or a region comment, picked by number. Surround with Live Template (Mod+Alt+J) offers the templates that use the selection, with Emmet first in markup. - Unwrap/Remove (
Mod+Shift+Delete) takes away theif, loop,try,else,catchor enclosing tag around the caret and keeps its body. - Postfix completion:
.if,.not,.return,.forof,.logand more after an expression turn it into the construct around it, on Tab or from the completion list. Several possible expressions open a chooser.
⚠️ Breaking changes
Mod+Alt+Jis Surround with Live Template, as in IntelliJ, sowrapWithAbbreviationhas no default chord any more. Emmet is the first row of that list in markup. A host that wants the old chord setswrapWithAbbreviationin its keymap withresolveKeymap.
Full Changelog: v0.43.0...v0.44.0