diff --git a/crates/rome_service/src/file_handlers/mod.rs b/crates/rome_service/src/file_handlers/mod.rs index 77dcd8ea6752..21cb1afa3043 100644 --- a/crates/rome_service/src/file_handlers/mod.rs +++ b/crates/rome_service/src/file_handlers/mod.rs @@ -94,10 +94,10 @@ impl Language { /// Returns the language corresponding to this language ID /// - /// See the [microsoft spec] + /// See the [microsoft spec] /// for a list of language identifiers /// - /// [microsoft spec]: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocumentItem + /// [microsoft spec]: https://code.visualstudio.com/docs/languages/identifiers pub fn from_language_id(s: &str) -> Self { match s.to_lowercase().as_str() { "javascript" => Language::JavaScript, diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 898075375e61..a584e60bec1c 100644 --- a/editors/vscode/package.json +++ b/editors/vscode/package.json @@ -3,7 +3,7 @@ "publisher": "biomejs", "displayName": "Biome", "description": "Biome LSP VS Code Extension", - "version": "1.0.0", + "version": "1.0.1", "icon": "icon.png", "activationEvents": [ "onLanguage:javascript", @@ -11,6 +11,7 @@ "onLanguage:typescript", "onLanguage:typescriptreact", "onLanguage:json", + "onLanguage:jsonc", "onCommand:biome.syntaxTree" ], "main": "./out/main.js", diff --git a/editors/vscode/src/main.ts b/editors/vscode/src/main.ts index 5bfb2e9f168a..510888c22c0e 100644 --- a/editors/vscode/src/main.ts +++ b/editors/vscode/src/main.ts @@ -64,6 +64,7 @@ export async function activate(context: ExtensionContext) { { language: "javascriptreact", scheme: "file" }, { language: "typescriptreact", scheme: "file" }, { language: "json", scheme: "file" }, + { language: "jsonc", scheme: "file" }, ]; const clientOptions: LanguageClientOptions = {