1.4

l
Indent Tags: [TBD]
l
How many inline elements should be to force line break: [TBD]
l
Self-closing style for writing empty elements:
l
Applied filters: [TBD]
Emmet Snippets Preferences
Snippets are just blocks of plain code, just like in all programmers’ editors. You can type
anything there and it will be outputted “as-is”, without any transformation. Snippets are very
similar to Abbreviations except for their more static nature.
l Snippet List:
l
Name: The name of the item, aka its trigger. Disabled the checkbox next to the
name to disable the item (it will not trigger).
l
Context: The context in which the item is enabled (HTML, CSS, etc)
l
Description: A short description of the item.
l
Auto Insert: [TBD]
l
New: Click to create a new item.
l
Edit: Click to modify the currently selected item.
l
Remove: Click to remove the currently selected item from the list.
l
Restore Removed: [Currently not functional]
l
Revert to default: [Currently not functional]
l
Import: Click to open a browse dialog to import an xml file containing exported
items. The imported items are added to the list, and any
l
Export: Click to open a save as dialog to export all the items in an xml file that can
be shared and re-imported.
l
Preview box: Displays a preview of the expanded item when one is selected.
Emmet Variables Preferences
Variables are placeholders used in Snippets to output predefined data. For example, the
html:5 snippet of HTML syntax has the following definition:
<!doctype html>\n<html lang="${lang}">...</body>\n</html>
In the example above, ${lang} is used to refer lang variable defined in variables below. If your
primary language is, for example, Russian, you can simply override lang variable with ru value
and keep the original snippets. Also, you can override variable values with inline abbreviation
attributes: html:5[lang=ru].
Page 466