Update
This commit is contained in:
+1
-1
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user