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

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