summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorGeorgie <george@fivetran.com>2016-03-12 16:09:54 -0800
committerGeorgie <george@fivetran.com>2016-03-12 16:09:54 -0800
commit64292c143efda40762421fd76527a70b0e882552 (patch)
treee374ca4bf1b5624df49618f3e461733753edc93b /package.json
parent662d19bd5f359e70a18b55ec35cca8a43beb25a8 (diff)
downloadjava-language-server-64292c143efda40762421fd76527a70b0e882552.zip
Java save callback
Diffstat (limited to 'package.json')
-rw-r--r--package.json17
1 files changed, 12 insertions, 5 deletions
diff --git a/package.json b/package.json
index 1c7756c..012b25e 100644
--- a/package.json
+++ b/package.json
@@ -11,14 +11,21 @@
"Other"
],
"activationEvents": [
- "onCommand:extension.sayHello"
+ "onLanguage:java"
],
"main": "./out/src/extension",
"contributes": {
- "commands": [{
- "command": "extension.sayHello",
- "title": "Hello World"
- }]
+ "languages": [
+ {
+ "id": "java",
+ "extensions": [
+ ".java"
+ ],
+ "aliases": [
+ "Java"
+ ]
+ }
+ ]
},
"scripts": {
"vscode:prepublish": "node ./node_modules/vscode/bin/compile",