Redirect language server logs to file, for all language servers
This is because vscode/atom clients do not like verbose log output (JavaScript too slow compared to java?) and drop the connection to the server.
This commit is contained in:
@@ -23,7 +23,7 @@ import org.springframework.ide.vscode.commons.languageserver.util.SimpleLanguage
|
||||
public class Main {
|
||||
|
||||
public static void main(String[] args) throws IOException, InterruptedException {
|
||||
LaunguageServerApp.start("boot-java", () -> {
|
||||
LaunguageServerApp.start("boot-java-language-server", () -> {
|
||||
SimpleLanguageServer server = new BootJavaLanguageServer(
|
||||
BootJavaLanguageServerParams.createDefault()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user