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

@@ -64,6 +64,14 @@
"type": "object",
"title": "Bosh CLI Configuration",
"properties": {
"bosh.ls.java.heap": {
"type": ["string", "null"],
"description": "Passed as an `-Xmx` argument to the language server JVM process"
},
"bosh.ls.java.home": {
"type": ["string", "null"],
"description": "Overrides JAVA_HOME used for launching the language server JVM process"
},
"bosh.cli.command": {
"type": [
"string",
@@ -99,7 +107,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": {