Allow overriding vscode language server options

JAVA_HOME and heap can now be overridden by the user from
vscode worspace settings, in a similar way for all our language servers,
by setting XXX.java.home and XXX.java.heap configuration keys.
This commit is contained in:
Kris De Volder
2018-05-03 12:41:29 -07:00
parent e3301506a4
commit 15e3230e3b
9 changed files with 58 additions and 14 deletions

View File

@@ -33,11 +33,12 @@
"title": "Concourse Language Server Options",
"properties": {
"concourse.ls.java.heap": {
"type": [
"string",
"null"
],
"description": "Passed as an `-Xmx` argument to the concourse language server process"
"type": ["string", "null"],
"description": "Passed as an `-Xmx` argument to the language server JVM process"
},
"concourse.ls.java.home": {
"type": ["string", "null"],
"description": "Overrides JAVA_HOME used for launching the language server JVM process"
}
}
},
@@ -90,7 +91,7 @@
"vsce-package": "vsce package"
},
"dependencies": {
"@pivotal-tools/commons-vscode": "^0.2.0",
"@pivotal-tools/commons-vscode": "file:../commons-vscode/pivotal-tools-commons-vscode-0.2.2.tgz",
"vscode-languageclient": "^4.0.0"
},
"devDependencies": {