forked from georgewfraser/java-language-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
142 lines (142 loc) · 4.64 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "vscode-javac",
"displayName": "Java Language Support",
"description": "Java support using the Java Compiler API",
"icon": "icon.png",
"version": "0.2.19",
"publisher": "georgewfraser",
"repository": {
"type": "git",
"url": "https://github.com/georgewfraser/java-language-server"
},
"license": "MIT",
"engines": {
"vscode": "^1.33.0"
},
"categories": [
"Programming Languages",
"Linters"
],
"keywords": [
"java"
],
"activationEvents": [
"onLanguage:java"
],
"main": "./out/lib/extension",
"contributes": {
"languages": [
{
"id": "java",
"extensions": [
".java"
],
"aliases": [
"Java"
]
},
{
"id": "java.hover"
}
],
"grammars": [
{
"language": "java",
"scopeName": "source.java",
"path": "./lib/java.tmLanguage.json"
},
{
"language": "java.hover",
"scopeName": "source.java.hover",
"path": "./lib/java.hover.tmLanguage.json"
}
],
"snippets": [
{
"language": "java",
"path": "./snippets/java.json"
}
],
"configuration": {
"title": "Java configuration",
"properties": {
"java.home": {
"type": "string",
"description": "Absolute path to your Java home directory"
},
"java.classPath": {
"type": "array",
"items": {
"type": "string"
},
"description": "Relative paths from workspace root to .jar files, .zip files, or folders that should be included in the Java class path"
},
"java.externalDependencies": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[^:]+:[^:]+:[^:]+(:[^:]+:[^:]+)?$"
},
"description": "External dependencies of the form groupId:artifactId:version or groupId:artifactId:packaging:version:scope"
},
"java.testMethod": {
"type": "array",
"items": {
"type": "string"
},
"description": "Command to run one test method, for example [\"mvn\", \"test\", \"-Dtest=${class}#${method}\""
},
"java.testClass": {
"type": "array",
"items": {
"type": "string"
},
"description": "Command to run all tests in a class, for example [\"mvn\", \"test\", \"-Dtest=${class}\""
},
"java.addExports": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of modules to allow access to, for example [\"jdk.compiler/com.sun.tools.javac.api\"]"
},
"java.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VSCode and the language server."
}
}
},
"configurationDefaults": {
"[java]": {
"editor.formatOnSave": true
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"gen-parser": "tree-sitter build-wasm ./node_modules/tree-sitter-java"
},
"dependencies": {
"vscode-languageclient": "^5.3.0-next.4",
"vscode-tree-sitter": "^0.1.24",
"web-tree-sitter": "^0.15.6"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^10.14.6",
"tree-sitter-cli": "^0.15.3",
"typescript": "^3.4.5",
"vscode": "^1.1.33"
}
}