Skip to content

Commit e6b0755

Browse files
committed
address comments
Signed-off-by: Shi Chen <chenshi@microsoft.com>
1 parent bc7ecfa commit e6b0755

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/extension.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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
},

src/providerDispatcher.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)