Using mist analyzer

This commit is contained in:
2026-05-24 18:00:35 +02:00
parent 7e528945d6
commit ee591f665f
+15 -5
View File
@@ -13,18 +13,28 @@ let client: LanguageClient | undefined;
export async function activate(context: ExtensionContext) { export async function activate(context: ExtensionContext) {
// If the extension is launched in debug mode then the debug server options are used // If the extension is launched in debug mode then the debug server options are used
// Otherwise the run 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 = { let serverOptions: ServerOptions = {
run: { run: {
command: "cmd.exe", command: "mist-analyzer",
args: ["/c", "D:\\projects\\mist\\mist\\analyzer.bat"],
transport: TransportKind.stdio transport: TransportKind.stdio
}, },
debug: { debug: {
command: "cmd.exe", command: "mist-analyzer",
args: ["/c", "D:\\projects\\mist\\mist\\analyzer.bat"],
transport: TransportKind.stdio transport: TransportKind.stdio
} }
}; };
// Options to control the language client // Options to control the language client
let clientOptions: LanguageClientOptions = { let clientOptions: LanguageClientOptions = {