- Emmet updated to v2.1.0: improved fuzzy search mechanism for CSS abbreviations. It provides much better feedback, especially when user types full CSS property name.
- Improved context detection for abbreviations in HTML and CSS: inline CSS is properly supported in both
<style>
andstyle="..."
. It also detects if current caret position is inside or outside CSS selector and skips property abbreviations in latter case. - New extension method
editor.getEmmetCompletion(pos)
: returns completion for CodeMirror’s show-hint module if it’s available for givenpos
.
- Now you can specify syntaxes/modes and syntax groups (
markup
orstylesheet
) inmark
andpreview
options to enable abbreviation marking and interactive preview in specified syntaxes only.
Brand new implementation which uses Emmet 2 lib and highlights abbreviation as you type with real-time preview. See README for more info.
- Major code refactoring and clean-up.
- Added
jsxBracket
option to force leading<
before abbreviation to make it expandable, which makes writing JSX much more easier and predictable in JS environment with own snippets (see README). - Support basic and context-aware abbreviation expand mode (see README).
- Support Emmet config for customization.
- Improved Emmet autocomplete, added support for CSS property keyword completions.