configured eclipse ls startup to disable smart indentation feature

This commit is contained in:
Martin Lippert
2017-08-21 16:10:57 +02:00
parent 90d7700236
commit d0db199d38
5 changed files with 34 additions and 5 deletions

View File

@@ -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());

View File

@@ -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());

View File

@@ -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);
}

View File

@@ -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());

View File

@@ -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());