From f874c6a8c7e6365a4a83c21dbc75caca252ef949 Mon Sep 17 00:00:00 2001 From: Neil Macneale V Date: Thu, 7 Sep 2023 16:06:39 -0700 Subject: [PATCH] Hook up fql-analyzer to FSL files --- src/LanguageServer.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/LanguageServer.ts b/src/LanguageServer.ts index 716ca86..84425cd 100644 --- a/src/LanguageServer.ts +++ b/src/LanguageServer.ts @@ -73,6 +73,10 @@ export class LanguageService implements ConfigurationChangeSubscription { scheme: "file", language: "fql", }, + { + scheme: "file", + language: "fsl", + }, { scheme: "untitled", language: "fql", @@ -82,14 +86,14 @@ export class LanguageService implements ConfigurationChangeSubscription { // Notify the server about file changes to '.clientrc files contained in the workspace fileEvents: vscode.workspace.createFileSystemWatcher("**/.clientrc"), }, - outputChannel: vscode.window.createOutputChannel("FQL Language Server"), + outputChannel: vscode.window.createOutputChannel("FQL Analyzer Log"), revealOutputChannelOn: RevealOutputChannelOn.Info, }; // Create the language client and start the client. this.client = new LanguageClient( - "fql", - "FQL", + "fql-analyzer", + "FQL Analyzer", serverOptions, clientOptions, );