summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorGeorge Fraser <george@fivetran.com>2017-04-22 16:12:50 -0700
committerGeorge Fraser <george@fivetran.com>2017-04-22 16:12:50 -0700
commit8196fb7742f0ffb60faee8ccc16bb6f18dd564ee (patch)
treef399ae2c73f80f4a6fb172fe0ce454b122f3acdc /package.json
parent516e79984e2e7a98866aafca0331d436e9197736 (diff)
downloadjava-language-server-8196fb7742f0ffb60faee8ccc16bb6f18dd564ee.zip
Use java.externalDependencies to infer config
Diffstat (limited to 'package.json')
-rw-r--r--package.json15
1 files changed, 14 insertions, 1 deletions
diff --git a/package.json b/package.json
index a21d6d1..50582e7 100644
--- a/package.json
+++ b/package.json
@@ -50,7 +50,20 @@
"fileMatch": "javaconfig.json",
"url": "./lib/javaconfig.schema.json"
}
- ]
+ ],
+ "configuration": {
+ "title": "Java configuration",
+ "properties": {
+ "java.externalDependencies": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "pattern": "^[^:]+:[^:]+:[^:]+(:[^:]+:[^:]+)?$",
+ "description": "External dependencies of the form groupId:artifactId:version or groupId:artifactId:packaging:version:scope"
+ }
+ }
+ }
+ }
},
"scripts": {
"vscode:prepublish": "tsc -p ./",