Using mist analyzer
This commit is contained in:
+15
-5
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user