Skip to content

"emmet.extensionsPath" incompatible with "emmet.useNewEmmet": true #28465

@Fred-Vatin

Description

@Fred-Vatin
VS Code version OS
1.13.0 Win x64 pro (french)

The new Emmet feature is awesome. Unfortunately, it will ignore the user setting "emmet.extensionsPath".

Steps to reproduce

  1. in settings.json:
    "emmet.extensionsPath": "path to\\Emmet Settings",
    "emmet.useNewEmmet": true,
  1. In Emmet Settings directory set above there is a custom snippets.json file containing for instance:
{
	"variables": {
		"charset": "UTF-8",
		"indentation": "\t",
		"lang": "fr",
		"locale": "fr-FR",
		"newline": "\n"
	},
	"html": {
		"abbreviations": {
			"doc": "html>(head>meta[charset=${charset}]+meta:vp+meta:edge+title{${1:Document}})+body",
			"html:5": "!!!+doc[lang=${lang}]"
		},
		"filters": "html",
		"profile": "html",
		"snippets": {
			"!!!": "<!DOCTYPE html>"
		}
	}
}
  1. In a HTML file use the emmet html:5 snippet

Result

Custom emmet snippets are ignored. Lang applied is "en". Same goes for any emmet custom snippets in "emmet.extensionsPath": "path to\\Emmet Settings": html, css, etc.

It will work as intended if "emmet.useNewEmmet": false

I hope this incompatibility issue with custom emmet settings will be solve.

Metadata

Metadata

Assignees

Labels

emmetEmmet related issuesfeature-requestRequest for new features or functionalityverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions