mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
Enable json language support for code-snippets files (#204090)
* Enable json language support for `code-snippets` files * fix * snippets as a known language to the json language server --------- Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
This commit is contained in:
@@ -40,8 +40,10 @@ export function getLanguageParticipants(): LanguageParticipants {
|
||||
languages = new Set();
|
||||
languages.add('json');
|
||||
languages.add('jsonc');
|
||||
languages.add('snippets');
|
||||
comments = new Set();
|
||||
comments.add('jsonc');
|
||||
comments.add('snippets');
|
||||
|
||||
for (const extension of extensions.allAcrossExtensionHosts) {
|
||||
const jsonLanguageParticipants = extension.packageJSON?.contributes?.jsonLanguageParticipants as LanguageParticipantContribution[];
|
||||
|
||||
Reference in New Issue
Block a user