Works on Win 10

This commit is contained in:
BoykoAlex
2019-05-10 14:59:29 -04:00
parent f5cd5a7fb1
commit d64d0686f5
4 changed files with 10 additions and 4 deletions

View File

@@ -31,7 +31,8 @@ public class BoshLanguageServer extends STS4LanguageServerProcessStreamConnector
"application.yml",
Arrays.asList(
"-Dlsp.lazy.completions.disable=true",
"-Dlsp.completions.indentation.enable=true"
"-Dlsp.completions.indentation.enable=true",
"-noverify"
)
);

View File

@@ -45,7 +45,8 @@ public class CloudFoundryManifestLanguageServer extends STS4LanguageServerProces
"application.yml",
Arrays.asList(
"-Dlsp.lazy.completions.disable=true",
"-Dlsp.completions.indentation.enable=true"
"-Dlsp.completions.indentation.enable=true",
"-noverify"
)
);

View File

@@ -31,7 +31,8 @@ public class ConcourseLanguageServer extends STS4LanguageServerProcessStreamConn
"application.yml",
Arrays.asList(
"-Dlsp.lazy.completions.disable=true",
"-Dlsp.completions.indentation.enable=true"
"-Dlsp.completions.indentation.enable=true",
"-noverify"
)
);

View File

@@ -101,7 +101,10 @@ public abstract class STS4LanguageServerProcessStreamConnector extends ProcessSt
StringBuilder classpath = new StringBuilder();
classpath.append(languageServerRoot.resolve("BOOT-INF/classes").toFile());
classpath.append(File.pathSeparator);
classpath.append(languageServerRoot.resolve("BOOT-INF/lib/*").toFile());
classpath.append(languageServerRoot.resolve("BOOT-INF/lib").toFile());
// Cannot have * in the java.nio.Path on Windows
classpath.append(File.separator);
classpath.append('*');
if (runtime.toolsJar != null) {
classpath.append(File.pathSeparator);