Customization
Emmet offers wide range of tweaks you can use to fine-tune your plugin experience. Almost all officially developed editor plugins (except PSPad and browser-based) has extensions support: a special folder where you can put json
and js
files to extend Emmet. Please refer to README file bundled with your editor’s plugin to find out where Emmet looks for extensions.
Each .js
file located in extensions folder will be loaded and executed on plugin start-up. Use js
files to create your own filters or actions: you can use Emmet modules and bindings to script your editor with JavaScript.
With .json
files you can fine-tune different parts of Emmet toolkit:
- snippets.json
- Add your own or update existing snippets
- preferences.json
- Change behavior of some Emmet filters and actions
- syntaxProfiles.json
- Define how generated HTML/XML should look.