Skip to content

[json] Allow extensions to enable the builtin json-language-features extension on their own personal json languageId #198025

@RedCMD

Description

@RedCMD

Currently the builtin json extension supports the language ids json and jsonc
It would be nice if other extensions could add their own languageId to the list

from my testing, simply allowing the possibility to add languages to the documentSelector will work

const documentSelector = ['json', 'jsonc'];

and also modifying the "activationEvents"

"activationEvents": [
"onLanguage:json",
"onLanguage:jsonc"
],

also very closely related @jeff-hykin
the language Code Snippets does not have the json language server enabled

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code InsidersjsonJSON support issuesverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions