This commit is contained in:
2026-06-28 16:18:49 +02:00
parent 8ffe8ba4b8
commit 139426cede
2 changed files with 1 additions and 18 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "mist-analyzer",
"displayName": "Mist Analyzer",
"description": "The Mist programming language Analyzer LSP",
"version": "0.0.1",
"version": "0.0.2",
"author": {
"name": "Mist Team"
},
-17
View File
@@ -11,20 +11,6 @@ import {
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: "mist-analyzer",
@@ -40,9 +26,6 @@ export async function activate(context: ExtensionContext) {
let clientOptions: LanguageClientOptions = {
// Register the server for plain text documents
documentSelector: [{ scheme: 'file', language: 'mist' }],
synchronize: {
fileEvents: workspace.createFileSystemWatcher('**/*.mist')
}
};
// Create the language client and start the client.