Fix compilation issue on recent lsp4e
I also beleave the new api that's being overridden here has something to do with how the error ouput from LSP process might be shown to the user.
This commit is contained in:
@@ -55,7 +55,6 @@ public class DelegatingStreamConnectionProvider implements StreamConnectionProvi
|
||||
|
||||
public DelegatingStreamConnectionProvider() {
|
||||
String port = System.getProperty("boot-java-ls-port");
|
||||
|
||||
if (port != null) {
|
||||
this.provider = new SpringBootJavaLanguageServerViaSocket(Integer.parseInt(port));
|
||||
}
|
||||
@@ -125,5 +124,8 @@ public class DelegatingStreamConnectionProvider implements StreamConnectionProvi
|
||||
settings.put("boot-java", bootJavaObj);
|
||||
this.languageServer.getWorkspaceService().didChangeConfiguration(new DidChangeConfigurationParams(settings));
|
||||
}
|
||||
|
||||
|
||||
public InputStream getErrorStream() {
|
||||
return provider.getErrorStream();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,4 +61,9 @@ public class SpringBootJavaLanguageServerViaSocket implements StreamConnectionPr
|
||||
}
|
||||
}
|
||||
|
||||
public InputStream getErrorStream() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user