From abac8677426c2ab96218a67cb101970380606b57 Mon Sep 17 00:00:00 2001 From: Yannick Daveluy Date: Fri, 30 Aug 2024 13:42:26 +0200 Subject: [PATCH] update template generator to handle all scheme by default --- .../generator-langium/templates/vscode/src/extension/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/generator-langium/templates/vscode/src/extension/main.ts b/packages/generator-langium/templates/vscode/src/extension/main.ts index 195b8f979..cfa178168 100644 --- a/packages/generator-langium/templates/vscode/src/extension/main.ts +++ b/packages/generator-langium/templates/vscode/src/extension/main.ts @@ -34,7 +34,7 @@ function startLanguageClient(context: vscode.ExtensionContext): LanguageClient { // Options to control the language client const clientOptions: LanguageClientOptions = { - documentSelector: [{ scheme: 'file', language: '<%= language-id %>' }] + documentSelector: [{ scheme: '*', language: '<%= language-id %>' }] }; // Create the language client and start the client.