WIP
This commit is contained in:
@@ -36,6 +36,17 @@ public class ConcourseLanguageServer extends STS4LanguageServerProcessStreamConn
|
||||
)
|
||||
);
|
||||
|
||||
// Bundle bundle = Platform.getBundle(getPluginId());
|
||||
// File bundleFile = FileLocator.getBundleFileLocation(bundle).orElse(null);
|
||||
//
|
||||
// File bundleRoot = bundleFile.getAbsoluteFile();
|
||||
// Path languageServerRoot = bundleRoot.toPath().resolve(Paths.get("servers", "concourse-language-server"));
|
||||
//
|
||||
// setCommands(List.of(
|
||||
// languageServerRoot.toFile().toString(),
|
||||
// "-Dsts.lsp.client=eclipse"
|
||||
// ));
|
||||
|
||||
setWorkingDirectory(getWorkingDirLocation());
|
||||
}
|
||||
|
||||
|
||||
@@ -113,6 +113,9 @@ public abstract class STS4LanguageServerProcessStreamConnector extends ProcessSt
|
||||
|
||||
command.add(classpath.toString());
|
||||
|
||||
|
||||
command.add("-agentlib:native-image-agent=config-output-dir=/Users/aboyko/" + getPluginId() + "/,config-write-period-secs=30,config-write-initial-delay-secs=5");
|
||||
|
||||
command.add("-Dsts.lsp.client=eclipse");
|
||||
|
||||
command.addAll(extraVmArgs);
|
||||
|
||||
Reference in New Issue
Block a user