forked from redhat-developer/vscode-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
189 lines (189 loc) · 5.57 KB
/
package.json
File metadata and controls
189 lines (189 loc) · 5.57 KB
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
{
"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.11.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"
],
"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 used to launch the Java Language Server."
},
"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"
},
"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"
},
"java.configuration.updateBuildConfiguration": {
"type": [
"string"
],
"enum": [
"disabled",
"interactive",
"automatic"
],
"default": "interactive",
"description": "Specifies how modifications on build files update the Java classpath/configuration"
},
"java.trace.server": {
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the Java language server."
},
"java.referencesCodeLens.enabled": {
"type": "boolean",
"default": false,
"description": "Enable/disable the references code lens."
},
"java.signatureHelp.enabled": {
"type": "boolean",
"default": false,
"description": "Enable/disable the signature help."
},
"java.implementationsCodeLens.enabled": {
"type": "boolean",
"default": false,
"description": "Enable/disable the implementations code lens."
},
"java.configuration.maven.userSettings": {
"type": "string",
"default": null,
"description": "Absolute path to Maven's settings.xml"
},
"java.format.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable default Java formatter"
},
"java.import.exclusions": {
"type": "array",
"description": "Configure glob patterns for excluding folders",
"default": "['**/node_modules', '**/.metadata']"
}
}
},
"commands": [
{
"command": "java.projectConfiguration.update",
"title": "Update project configuration",
"category": "Java"
},
{
"command": "java.open.serverLog",
"title": "Open Java Language Server log file",
"category": "Java"
}
],
"keybindings": [
{
"command": "java.projectConfiguration.update",
"key": "ctrl+alt+u",
"mac": "cmd+alt+u",
"when": "editorFocus"
}
]
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "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.2.0",
"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"
}
}