-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
305 lines (305 loc) · 7.66 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
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
{
"name": "vscode-abaplint",
"displayName": "abaplint",
"description": "ABAP linting, problems view, go to definition, find references, and quick fixes.",
"author": "Lars Hvam",
"license": "MIT",
"version": "0.6.452",
"repository": {
"type": "git",
"url": "https://github.com/abaplint/vscode-abaplint"
},
"publisher": "larshp",
"keywords": [
"abap",
"SAP",
"abaplint"
],
"categories": [
"Linters"
],
"engines": {
"vscode": "^1.37.1"
},
"activationEvents": [
"onLanguage:abap",
"onLanguage:abap_cds"
],
"icon": "img/abaplint_icon.png",
"main": "./out-native/extension",
"browser": "./out-browser/client",
"contributes": {
"commands": [
{
"command": "abaplint.show",
"title": "Show abaplint Help",
"category": "abaplint",
"icon": {
"dark": "img/abaplint.svg",
"light": "img/abaplint.svg"
}
},
{
"command": "abaplint.highlight.definitions",
"title": "ABAP Toggle Highlight Definitions",
"enablement": "editorLangId == 'abap'",
"category": "abaplint"
},
{
"command": "abaplint.dumpstatementflows",
"title": "ABAP dump flows for current file",
"enablement": "editorLangId == 'abap'",
"category": "abaplint"
},
{
"command": "abaplint.highlight.reads",
"title": "ABAP Toggle Highlight Reads",
"enablement": "editorLangId == 'abap'",
"category": "abaplint"
},
{
"command": "abaplint.highlight.writes",
"title": "ABAP Toggle Highlight Writes",
"enablement": "editorLangId == 'abap'",
"category": "abaplint"
},
{
"command": "abaplint.create.default-config",
"title": "Create Default Config",
"category": "abaplint"
},
{
"command": "abaplint.togglediffNormalize",
"title": "Normalize files",
"icon": "$(law)",
"category": "abaplint"
}
],
"jsonValidation": [
{
"fileMatch": "abaplint.json",
"url": "https://schema.abaplint.org/schema.json"
},
{
"fileMatch": "abaplint.jsonc",
"url": "https://schema.abaplint.org/schema.json"
},
{
"fileMatch": "abaplint-downport.json",
"url": "https://schema.abaplint.org/schema.json"
},
{
"fileMatch": "abaplint-downport.jsonc",
"url": "https://schema.abaplint.org/schema.json"
},
{
"fileMatch": "abap_transpile.json",
"url": "https://schema.abaplint.org/transpiler.json"
},
{
"fileMatch": "abap_transpile.jsonc",
"url": "https://schema.abaplint.org/transpiler.json"
},
{
"fileMatch": "abaplint.json5",
"url": "https://schema.abaplint.org/schema.json"
},
{
"fileMatch": "abaplint-app.json",
"url": "https://schema.abaplint.app/schema.json"
},
{
"fileMatch": "abaplint-app.jsonc",
"url": "https://schema.abaplint.app/schema.json"
},
{
"fileMatch": "abaplint-app.json5",
"url": "https://schema.abaplint.app/schema.json"
}
],
"menus": {
"editor/title": [
{
"when": "editorLangId == 'abap'",
"command": "abaplint.show",
"group": "navigation"
},
{
"command": "abaplint.togglediffNormalize",
"group": "navigation",
"when": "isInDiffEditor && abaplint.IsNormalizerEnabled"
}
],
"file/newFile": [
{
"command": "abaplint.create.default-config",
"group": "abaplint@1"
}
]
},
"keybindings": [
{
"command": "editor.action.formatDocument",
"key": "shift+f1",
"when": "editorLangId == 'abap' && editorTextFocus && !editorReadonly"
},
{
"command": "workbench.action.files.save",
"key": "ctrl+f3",
"when": "editorLangId == 'abap' && editorTextFocus"
},
{
"command": "workbench.action.quickOpen",
"key": "ctrl+shift+a",
"when": "true"
},
{
"command": "editor.action.commentLine",
"key": "ctrl+oem_102",
"when": "editorLangId == 'abap' && editorTextFocus && !editorReadonly"
},
{
"command": "editor.action.commentLine",
"key": "ctrl+shift+oem_102",
"when": "editorLangId == 'abap' && editorTextFocus && !editorReadonly"
},
{
"command": "abaplint.f1",
"key": "f1",
"when": "editorLangId == 'abap' && editorTextFocus"
}
],
"configuration": [
{
"order": 10,
"id": "semanticHighlighting",
"title": "Semantic Highlighting",
"properties": {
"abaplint.enableSemanticHighlighting": {
"scope": "window",
"type": "boolean",
"default": true,
"description": "Enable semantic highlighting, requires restart"
}
}
},
{
"order": 20,
"id": "codeLens",
"title": "Code Lens",
"properties": {
"abaplint.codeLens.messageText": {
"type": "boolean",
"description": "Show message texts",
"default": true
},
"abaplint.codeLens.dynamicExceptions": {
"type": "boolean",
"description": "Show dynamic exceptions",
"default": true
}
}
},
{
"order": 30,
"id": "inlayHints",
"title": "Inlay Hints",
"properties": {
"abaplint.inlayHints.inferredTypes": {
"type": "boolean",
"description": "Show inferred types, requires restart",
"default": true
}
}
},
{
"order": 40,
"id": "formatting",
"title": "Formatting",
"properties": {
"abaplint.formatting.enable": {
"order": 10,
"type": "boolean",
"description": "Enable document formatting, requires restart",
"default": true
},
"abaplint.formatting.experimental": {
"order": 20,
"type": "boolean",
"description": "Enable experimental document formatting, requires restart",
"default": false
},
"abaplint.formatting.disabled": {
"order": 30,
"type": "array",
"items": {
"type": "string"
},
"default": [
"unused_types",
"unused_variables"
],
"description": "List of rules that should not be triggered on formatting"
}
}
},
{
"order": 50,
"id": "codenormalization",
"title": "Diff code normalization for bitbucket",
"properties": {
"abaplint.codeNormalization": {
"type": "string",
"enum": [
"On by default",
"Off by default",
"deactivated"
],
"default": "Off by default"
}
}
}
]
},
"scripts": {
"lint": "eslint client/src/**/*.ts server/src/**/*.ts",
"vscode:prepublish": "npm run compile",
"webpack:native": "webpack --mode none --config ./native.webpack.config.js",
"webpack:browser": "webpack --config ./browser.webpack.config.js",
"compile:client": "tsc -p ./client/tsconfig.json",
"compile:server": "tsc -p ./server/tsconfig.json",
"watch:client": "tsc -w -p ./client/tsconfig.json",
"watch:server": "tsc -w -p ./server/tsconfig.json",
"compile": "npm run compile:client && npm run compile:server && npm run webpack:native && npm run webpack:browser",
"test": "npm run compile && npm run lint",
"chrome": "npm run compile && vscode-test-web --browserType=chromium --extensionDevelopmentPath=.",
"install": "npm install && cd client && npm install && cd ../server && npm install && cd .."
},
"extensionDependencies": [
"larshp.vscode-abap"
],
"sponsor": {
"url": "https://github.com/sponsors/larshp"
},
"devDependencies": {
"@eslint/compat": "^1.2.4",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.17.0",
"@types/mocha": "^10.0.10",
"@types/node": "^22.10.5",
"@typescript-eslint/eslint-plugin": "^8.19.0",
"@typescript-eslint/parser": "^8.19.0",
"@vscode/test-web": "^0.0.65",
"buffer": "^6.0.3",
"crypto-browserify": "^3.12.1",
"eslint": "^9.17.0",
"globals": "^15.14.0",
"merge-options": "^3.0.4",
"path-browserify": "^1.0.1",
"ts-loader": "^9.5.1",
"typescript": "^5.7.2",
"vm-browserify": "^1.1.2",
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1"
}
}