- Automatically remove empty
for
attribute in<label>
element if it contains nested<input>
or<textarea>
element.
- Emmet just got better for JSX and Vue devs: use cleaner and shorter
abbreviations to work with CSS modules and CSS-in-JS. For example, you can
write
..my-class
abbreviation to get<div styleName={styles['my-class']}>
. Read more in py-emmet v1.2.0 CHANGELOG: https://github.com/emmetio/py-emmet/blob/master/CHANGELOG.md#120-2023-01-19 Feature discussion: emmetio/emmet#589 - Fixed missing semicolon inside
@media
rule (#173) - Support abbreviations inside
@supports (...) {}
query - Removed extra spaces in CSS snippet output with parentheses in value (emmetio/emmet#647).
- Added
script:module
HTML snippet. - Added
g
(gap
) CSS snippet, replaceddc
withdisplay: contents
instead of invaliddisplay: compact
.
- Stability improvements in main Emmet package
- Expand abbreviations from multiple cursors.
- Introduce
known_snippets_only
option, which is enabled by default for HTML syntaxes. It allows to expand a single-word abbreviation only if it’s a known HTML tag, Emmet snippet or common component pattern. - Improved unmatched CSS abbreviations handling: #45
Final release of Emmet.
- Support TSX syntax.
- Minor tweaks and improvements in abbreviation activation scopes.
- Improved typing experience: detect unwanted abbreviations in some common cases.
- Improved error snippet for invalid abbreviation
- Disabled Emmet commenting by default
- Complete rewrite of abbreviation tracker (detect abbreviation as-you-type). It should be less annoying: display expanded preview only if abbreviation contains more than one element.
- Explicit Abbreviation Mode: run
Emmet: Enter Abbreviation Mode
to enter explicit abbreviation typing mode. Run this action in any syntax to enter abbreviation with real-time preview and validation. Hit Enter or Tab to expand abbreviation, Esc to clear entered abbreviation and exit mode. - Moved preferences from
Preferences.sublime-settings
(global to Sublime Text) intoEmmet.sublime-settings
file. - Syntax highlighting of HTML abbreviation preview.