Skip to content

Emmet extensions_path option #11679

Closed
Closed

Description

  • VSCode Version: 1.4.0 (2016-08-04T16:39:36.387Z)
  • OS Version: OS X El Capitan 10.11.3

There's an extensions_path option for Emmet in Sublime and Atom, which allows you to have an external source for preferences.json and snippets.json.

You can easily extend Emmet with new actions and filters or customize existing ones. In Preferences > Emmet, set Extensions path to folder with Emmet extensions. By default, it’s ~/emmet, e.g. emmet folder in your system HOME folder.

https://github.com/emmetio/emmet-atom#extensions-support

It's not available in the latest version of editor.
Can this option be ported into Visual Studio Code?

Activity

  1. added
    feature-request
    on Sep 11, 2016
  2. drgullin commented on Oct 4, 2016

    @drgullin
    Author

    Any progress on this issue? I've a long list of the snippets to use for Emmet (both CSS and HTML), if I add them to my settings.json, it will become messy, that's why an extended file is appreciated.

  3. added
    emmet
    on Nov 12, 2016
  4. ramya-rao-a commented on Jan 19, 2017

    @ramya-rao-a
    Contributor

    fronteed This is now implemented and should be in tomorrow's insiders build. Can you give it a try and provide feedback?

    • The setting to use is called emmet.extensionsPath
    • You need to provide absolute path at the moment.
    • The files snippets.json, syntaxProfiles.json and preferences.json will be read from this directory.
    • emmet.preferences and emmet.syntaxProfiles settings will take precedence over the contents of the above file
    • The files are read once and cached. Will be re-read on VS Code reload or whenever there is a change to emmet.extensionsPath

    More on emmet customization: http://docs.emmet.io/customization/

  5. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

emmetfeature-request

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions