File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,8 @@ export function activate(context: ExtensionContext): Promise<ExtensionAPI> {
167167 resolveAdditionalTextEditsSupport : true ,
168168 advancedIntroduceParameterRefactoringSupport : true ,
169169 actionableRuntimeNotificationSupport : true ,
170- shouldLanguageServerExitOnShutdown : true ,
170+ // https://github.com/redhat-developer/vscode-java/pull/2377#issuecomment-1427268344
171+ shouldLanguageServerExitOnShutdown : false ,
171172 onCompletionItemSelectedCommand : "editor.action.triggerParameterHints" ,
172173 extractInterfaceSupport : true ,
173174 } ,
Original file line number Diff line number Diff line change @@ -99,10 +99,10 @@ function createDocumentSymbolProvider(): DocumentSymbolProvider {
9999 }
100100
101101 if ( ( < any > symbolResponse [ 0 ] ) . containerName ) {
102- return await languageClient . protocol2CodeConverter . asSymbolInformations ( < clientSymbolInformation [ ] > symbolResponse ) ;
102+ return languageClient . protocol2CodeConverter . asSymbolInformations ( < clientSymbolInformation [ ] > symbolResponse ) ;
103103 }
104104
105- return await languageClient . protocol2CodeConverter . asDocumentSymbols ( < clientDocumentSymbol [ ] > symbolResponse ) ;
105+ return languageClient . protocol2CodeConverter . asDocumentSymbols ( < clientDocumentSymbol [ ] > symbolResponse ) ;
106106 }
107107 } ;
108108}
You can’t perform that action at this time.
0 commit comments