From ee591f665f57107ec611713fa9e96bd158ced75c Mon Sep 17 00:00:00 2001 From: Selimaj Dev Date: Sun, 24 May 2026 18:00:35 +0200 Subject: [PATCH] Using mist analyzer --- src/extension.ts | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/src/extension.ts b/src/extension.ts index a910eca..9c63973 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -13,18 +13,28 @@ let client: LanguageClient | undefined; export async function activate(context: ExtensionContext) { // If the extension is launched in debug mode then the debug server options are used // Otherwise the run options are used + // let serverOptions: ServerOptions = { + // run: { + // command: "cmd.exe", + // args: ["/c", "D:\\projects\\mist\\mist\\analyzer.bat"], + // transport: TransportKind.stdio + // }, + // debug: { + // command: "cmd.exe", + // args: ["/c", "D:\\projects\\mist\\mist\\analyzer.bat"], + // transport: TransportKind.stdio + // } + // }; let serverOptions: ServerOptions = { run: { - command: "cmd.exe", - args: ["/c", "D:\\projects\\mist\\mist\\analyzer.bat"], + command: "mist-analyzer", transport: TransportKind.stdio }, debug: { - command: "cmd.exe", - args: ["/c", "D:\\projects\\mist\\mist\\analyzer.bat"], + command: "mist-analyzer", transport: TransportKind.stdio } - }; + }; // Options to control the language client let clientOptions: LanguageClientOptions = {