diff options
author | Georgie <george@fivetran.com> | 2016-03-12 16:09:54 -0800 |
---|---|---|
committer | Georgie <george@fivetran.com> | 2016-03-12 16:09:54 -0800 |
commit | 64292c143efda40762421fd76527a70b0e882552 (patch) | |
tree | e374ca4bf1b5624df49618f3e461733753edc93b /package.json | |
parent | 662d19bd5f359e70a18b55ec35cca8a43beb25a8 (diff) | |
download | java-language-server-64292c143efda40762421fd76527a70b0e882552.zip |
Java save callback
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 17 |
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", |