Possible fix to start/stop issue. A bit more logging.

This commit is contained in:
aboyko
2023-05-08 13:03:12 -04:00
parent 322405d9d8
commit b19c16cee6
2 changed files with 5 additions and 2 deletions

View File

@@ -7,10 +7,11 @@
<server
class="org.springframework.tooling.boot.ls.DelegatingStreamConnectionProvider"
clientImpl="org.springframework.tooling.ls.eclipse.commons.STS4LanguageClientImpl"
serverInterface="org.springframework.ide.vscode.commons.protocol.spring.SpringModelLanguageServer"
id="org.eclipse.languageserver.languages.springboot"
label="Spring Boot Language Server"
lastDocumentDisconnectedTimeout="2147483647">
lastDocumentDisconnectedTimeout="2147483647"
serverInterface="org.springframework.ide.vscode.commons.protocol.spring.SpringModelLanguageServer"
singleton="true">
</server>
<contentTypeMapping

View File

@@ -141,6 +141,8 @@ public abstract class STS4LanguageServerProcessStreamConnector extends ProcessSt
command.add("--languageserver.hover-timeout=225");
setCommands(command);
LanguageServerCommonsActivator.getInstance().getLog().info("Command list starting LS: " + connectorId + "\nSTART:\n" + String.join("\n", command) + "\nEND");
}
catch (Exception e) {
LanguageServerCommonsActivator.logError(e, "Failed to assemble exploded LS JAR launch command");