configured eclipse ls startup to disable smart indentation feature
This commit is contained in:
@@ -43,9 +43,12 @@ public class SpringBootJavaLanguageServer extends ProcessStreamConnectionProvide
|
||||
List<String> commands = new ArrayList<>();
|
||||
commands.add(getJDKLocation());
|
||||
|
||||
commands.add("-Xdebug");
|
||||
commands.add("-Xrunjdwp:server=y,transport=dt_socket,address=4000,suspend=n");
|
||||
// commands.add("-Xdebug");
|
||||
// commands.add("-Xrunjdwp:server=y,transport=dt_socket,address=4000,suspend=n");
|
||||
|
||||
commands.add("-Dlsp.lazy.completions.disable=true");
|
||||
commands.add("-Dlsp.completions.indentation.enable=true");
|
||||
|
||||
commands.add("-jar");
|
||||
commands.add(getLanguageServerJARLocation());
|
||||
|
||||
|
||||
@@ -42,6 +42,13 @@ public class BoshLanguageServer extends ProcessStreamConnectionProvider {
|
||||
public BoshLanguageServer() {
|
||||
List<String> commands = new ArrayList<>();
|
||||
commands.add(getJDKLocation());
|
||||
|
||||
// commands.add("-Xdebug");
|
||||
// commands.add("-agentlib:jdwp=transport=dt_socket,address=8899,server=y,suspend=n");
|
||||
|
||||
commands.add("-Dlsp.lazy.completions.disable=true");
|
||||
commands.add("-Dlsp.completions.indentation.enable=true");
|
||||
|
||||
commands.add("-jar");
|
||||
commands.add(getLanguageServerJARLocation());
|
||||
|
||||
|
||||
@@ -49,15 +49,20 @@ public class CloudFoundryManifestLanguageServer extends ProcessStreamConnectionP
|
||||
|
||||
public CloudFoundryManifestLanguageServer() {
|
||||
List<String> commands = new ArrayList<>();
|
||||
|
||||
commands.add(getJDKLocation());
|
||||
|
||||
// commands.add("-Xdebug");
|
||||
// commands.add("-agentlib:jdwp=transport=dt_socket,address=8899,server=y,suspend=n");
|
||||
|
||||
// commands.add("-Dlsp.lazy.completions.disable=true");
|
||||
commands.add("-Dlsp.completions.indentation.enable=true");
|
||||
|
||||
commands.add("-jar");
|
||||
commands.add(getLanguageServerJARLocation());
|
||||
|
||||
String workingDir = getWorkingDirLocation();
|
||||
|
||||
// commands.add("-Xdebug");
|
||||
// commands.add("-agentlib:jdwp=transport=dt_socket,address=9999,server=y,suspend=n");
|
||||
|
||||
setCommands(commands);
|
||||
setWorkingDirectory(workingDir);
|
||||
}
|
||||
|
||||
@@ -42,6 +42,13 @@ public class ConcourseLanguageServer extends ProcessStreamConnectionProvider {
|
||||
public ConcourseLanguageServer() {
|
||||
List<String> commands = new ArrayList<>();
|
||||
commands.add(getJDKLocation());
|
||||
|
||||
// commands.add("-Xdebug");
|
||||
// commands.add("-agentlib:jdwp=transport=dt_socket,address=8899,server=y,suspend=n");
|
||||
|
||||
commands.add("-Dlsp.lazy.completions.disable=true");
|
||||
commands.add("-Dlsp.completions.indentation.enable=true");
|
||||
|
||||
commands.add("-jar");
|
||||
commands.add(getLanguageServerJARLocation());
|
||||
|
||||
|
||||
@@ -42,6 +42,13 @@ public class SpringBootPropertiesLanguageServer extends ProcessStreamConnectionP
|
||||
public SpringBootPropertiesLanguageServer() {
|
||||
List<String> commands = new ArrayList<>();
|
||||
commands.add(getJDKLocation());
|
||||
|
||||
// commands.add("-Xdebug");
|
||||
// commands.add("-agentlib:jdwp=transport=dt_socket,address=8899,server=y,suspend=n");
|
||||
|
||||
commands.add("-Dlsp.lazy.completions.disable=true");
|
||||
commands.add("-Dlsp.completions.indentation.enable=true");
|
||||
|
||||
commands.add("-jar");
|
||||
commands.add(getLanguageServerJARLocation());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user