forked from redhat-developer/vscode-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
254 lines (254 loc) · 7.45 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
{
"name": "java",
"displayName": "Language Support for Java(TM) by Red Hat",
"description": "Language Support for Java(TM) for Visual Studio Code provided by Red Hat",
"author": "Red Hat",
"icon": "icons/icon128.png",
"license": "EPL-1.0",
"version": "0.17.0",
"publisher": "redhat",
"bugs": "https://github.com/redhat-developer/vscode-java/issues",
"preview": true,
"engines": {
"vscode": "^1.15.0"
},
"repository": {
"type": "git",
"url": "https://github.com/redhat-developer/vscode-java"
},
"categories": [
"Languages",
"Linters"
],
"keywords": [
"multi-root ready"
],
"activationEvents": [
"onLanguage:java",
"onCommand:java.show.references",
"onCommand:java.show.implementations",
"onCommand:java.open.output",
"onCommand:java.open.serverLog",
"onCommand:java.execute.workspaceCommand",
"onCommand:java.projectConfiguration.update",
"workspaceContains:pom.xml",
"workspaceContains:build.gradle"
],
"main": "./out/src/extension",
"contributes": {
"languages": [
{
"id": "java",
"extensions": [
".class"
],
"configuration": "./language-configuration.json"
}
],
"snippets": [
{
"language": "java",
"path": "./snippets/java.json"
}
],
"configuration": {
"type": "object",
"title": "Java configuration",
"properties": {
"java.home": {
"type": [
"string",
"null"
],
"default": null,
"description": "Specifies the folder path to the JDK (8 or more recent) used to launch the Java Language Server.",
"scope": "window"
},
"java.jdt.ls.vmargs": {
"type": [
"string",
"null"
],
"default": "-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication",
"description": "Specifies extra VM arguments used to launch the Java Language Server. Eg. use `-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication` to bypass class verification, increase the heap size to 1GB and enable String deduplication with the G1 Garbage collector",
"scope": "window"
},
"java.errors.incompleteClasspath.severity": {
"type": [
"string"
],
"enum": [
"ignore",
"info",
"warning",
"error"
],
"default": "warning",
"description": "Specifies the severity of the message when the classpath is incomplete for a Java file",
"scope": "window"
},
"java.configuration.updateBuildConfiguration": {
"type": [
"string"
],
"enum": [
"disabled",
"interactive",
"automatic"
],
"default": "interactive",
"description": "Specifies how modifications on build files update the Java classpath/configuration",
"scope": "window"
},
"java.trace.server": {
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the Java language server.",
"scope": "window"
},
"java.import.gradle.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable the Gradle importer.",
"scope": "window"
},
"java.import.maven.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable the Maven importer.",
"scope": "window"
},
"java.referencesCodeLens.enabled": {
"type": "boolean",
"default": false,
"description": "Enable/disable the references code lens.",
"scope": "window"
},
"java.signatureHelp.enabled": {
"type": "boolean",
"default": false,
"description": "Enable/disable the signature help.",
"scope": "window"
},
"java.implementationsCodeLens.enabled": {
"type": "boolean",
"default": false,
"description": "Enable/disable the implementations code lens.",
"scope": "window"
},
"java.configuration.maven.userSettings": {
"type": "string",
"default": null,
"description": "Absolute path to Maven's settings.xml",
"scope": "window"
},
"java.format.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable default Java formatter",
"scope": "window"
},
"java.saveActions.organizeImports": {
"type": "boolean",
"default": false,
"description": "Enable/disable auto organize imports on save action",
"scope": "window"
},
"java.import.exclusions": {
"type": "array",
"description": "Configure glob patterns for excluding folders",
"default": ["**/node_modules", "**/.metadata", "**/archetype-resources"],
"scope": "window"
},
"java.contentProvider.preferred": {
"type": "string",
"description": "Preferred content provider (a 3rd party decompiler id, usually)",
"default": null,
"scope": "window"
}
}
},
"commands": [
{
"command": "java.projectConfiguration.update",
"title": "Update project configuration",
"category": "Java"
},
{
"command": "java.open.serverLog",
"title": "Open Java Language Server log file",
"category": "Java"
},
{
"command": "java.workspace.compile",
"title": "Force Java compilation",
"category": "Java"
},
{
"command": "java.edit.organizeImports",
"title": "Organize Imports",
"category": "Java"
}
],
"keybindings": [
{
"command": "java.projectConfiguration.update",
"key": "shift+alt+u",
"when": "editorFocus"
},
{
"command": "java.edit.organizeImports",
"key": "shift+alt+o",
"when": "editorTextFocus && !editorReadnly"
},
{
"command": "java.workspace.compile",
"key": "shift+alt+b"
}
],
"menus": {
"editor/context": [
{
"command": "java.edit.organizeImports",
"when": "resourceLangId == java",
"group": "1_modification"
}
]
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test",
"build-server": "./node_modules/.bin/gulp build_server",
"watch-server": "./node_modules/.bin/gulp watch_server",
"tslint": "./node_modules/.bin/gulp tslint"
},
"devDependencies": {
"typescript": "^2.3.4",
"vscode": "^1.1.4",
"mocha": "^3.2.0",
"@types/node": "^6.0.40",
"@types/mocha": "^2.2.39",
"@types/glob": "5.0.30",
"gulp": "^3.9.1",
"gulp-tslint": "^8.1.1",
"tslint": "^5.5.0",
"gulp-decompress": "2.0.1",
"gulp-download": "0.0.1"
},
"dependencies": {
"vscode-languageclient": "^3.4.5",
"find-java-home": "0.1.4",
"tmp": "^0.0.31",
"path-exists": "^3.0.0",
"expand-home-dir": "^0.0.3",
"glob": "^7.1.1"
}
}