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.
84 lines
2.2 KiB
JSON
84 lines
2.2 KiB
JSON
{
|
|
"name": "vscode-manifest-yaml",
|
|
"displayName": "Cloudfoundry Manifest YML Support",
|
|
"description": "Adds linting, content assist and hoverinfo's for Cloudfoundry Deployment Manifests (a.k.a. `manifest.yml`) files.",
|
|
"icon": "icon.png",
|
|
"version": "0.2.1",
|
|
"publisher": "Pivotal",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/spring-projects/sts4.git"
|
|
},
|
|
"license": "EPL-1.0",
|
|
"engines": {
|
|
"npm": "^3.0.0",
|
|
"vscode": "^1.19.0"
|
|
},
|
|
"categories": [
|
|
"Languages",
|
|
"Linters"
|
|
],
|
|
"keywords": [
|
|
"yaml",
|
|
"cloudfoundry",
|
|
"manifest.yml"
|
|
],
|
|
"activationEvents": [
|
|
"onLanguage:manifest-yaml"
|
|
],
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "manifest-yaml",
|
|
"aliases": [
|
|
"cloudfoundry-manifest"
|
|
],
|
|
"filenamePatterns": [
|
|
"*manifest*.yml"
|
|
],
|
|
"configuration": "./yaml-support/language-configuration.json"
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "manifest-yaml",
|
|
"scopeName": "source.yaml",
|
|
"path": "./yaml-support/yaml.tmLanguage"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"title": "Cloudfoundry Manifest Language Server Configuration",
|
|
"properties": {
|
|
"cloudfoundry-manifest.ls.java.heap": {
|
|
"type": ["string", "null"],
|
|
"description": "Passed as an `-Xmx` argument to the language server JVM process"
|
|
},
|
|
"cloudfoundry-manifest.ls.java.home": {
|
|
"type": ["string", "null"],
|
|
"description": "Overrides JAVA_HOME used for launching the language server JVM process"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"main": "./out/lib/Main",
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./",
|
|
"clean": "rm -fr node_modules out *.vsix package-lock.json",
|
|
"preinstall": "./scripts/preinstall.sh",
|
|
"postinstall": "node ./node_modules/vscode/bin/install",
|
|
"vsce-package": "vsce package"
|
|
},
|
|
"dependencies": {
|
|
"@pivotal-tools/commons-vscode": "file:../commons-vscode/pivotal-tools-commons-vscode-0.2.2.tgz",
|
|
"vscode-languageclient": "^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"vsce": "^1.36.1",
|
|
"typescript": "2.6.1",
|
|
"@types/node": "^7.0.43",
|
|
"vscode": "^1.1.10"
|
|
}
|
|
}
|