File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,14 @@ import { ClientErrorHandler } from "./clientErrorHandler";
88import { ClientStatus } from "./extension.api" ;
99import { logger } from "./log" ;
1010import { OutputInfoCollector } from "./outputInfoCollector" ;
11- import { StatusNotification } from "./protocol" ;
11+ import { ExecuteClientCommandRequest , StatusNotification } from "./protocol" ;
1212import { RequirementsData } from "./requirements" ;
1313import { ServerMode } from "./settings" ;
1414import { snippetCompletionProvider } from "./snippetCompletionProvider" ;
1515import { getJavaConfig } from "./utils" ;
1616import { DEBUG } from "./javaServerStarter" ;
1717import { TracingLanguageClient } from "./TracingLanguageClient" ;
18+ import { commands } from "vscode" ;
1819
1920const extensionName = "Language Support for Java (Syntax Server)" ;
2021
@@ -90,6 +91,9 @@ export class SyntaxLanguageClient {
9091 apiManager . fireDidServerModeChange ( ServerMode . lightWeight ) ;
9192 }
9293 } ) ;
94+ this . languageClient . onRequest ( ExecuteClientCommandRequest . type , ( params ) => {
95+ return commands . executeCommand ( params . command , ...params . arguments ) ;
96+ } ) ;
9397 }
9498 }
9599
You can’t perform that action at this time.
0 commit comments