-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
336 lines (336 loc) · 15 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
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
{
"name": "common-lisp",
"displayName": "Common Lisp",
"description": "Common Lisp language support for VS Code",
"author": {
"name": "Qingpeng Li",
"email": "[email protected]"
},
"version": "1.2.11",
"publisher": "qingpeng",
"engines": {
"vscode": "^1.63.0"
},
"license": "MIT",
"categories": [
"Programming Languages",
"Snippets"
],
"keywords": [
"Common Lisp",
"common lisp",
"commonlisp",
"lisp",
"snippet",
"snippets",
"autocomplete",
"intellisense",
"syntax"
],
"activationEvents": [
"onLanguage:commonlisp"
],
"source": "./src/web/extension.ts",
"browser": "./dist/web/extension.js",
"contributes": {
"languages": [
{
"id": "commonlisp",
"aliases": [
"Common Lisp",
"common lisp",
"commonlisp"
],
"extensions": [
".lisp",
".lsp",
".l",
".cl",
".asd",
".asdf"
],
"configuration": "./declaratives/language-configuration.json",
"icon": {
"light": "./images/commonlisp_file_icon.svg",
"dark": "./images/commonlisp_file_icon.svg"
}
},
{
"id": "commonlisp-injection",
"aliases": [
"commonlisp-inj"
]
}
],
"grammars": [
{
"language": "commonlisp",
"scopeName": "source.commonlisp",
"path": "./syntaxes/commonlisp.tmLanguage.json"
},
{
"language": "commonlisp-injection",
"scopeName": "markdown.commonlisp.codeblock",
"path": "./syntaxes/cl_codeblock.tmLanguage.json",
"injectTo": [
"text.html.markdown"
],
"embeddedLanguages": {
"meta.embedded.block.commonlisp": "commonlisp"
}
}
],
"snippets": [
{
"language": "commonlisp",
"path": "./declaratives/commonlisp_snippets.json"
}
],
"configuration": {
"title": "Common Lisp",
"properties": {
"commonLisp.StaticAnalysis.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable Language Features Service. If this is disabled, no [Programmatic Language Features](https://code.visualstudio.com/api/language-extensions/programmatic-language-features) will be executed."
},
"commonLisp.providers.CompletionItemProviders.user.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable user symbol Completion Item Provider"
},
"commonLisp.providers.CompletionItemProviders.original.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable original symbol Completion Item Provider"
},
"commonLisp.providers.CompletionItemProviders.loop.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable loop Completion Item Provider"
},
"commonLisp.providers.CompletionItemProviders.ampersand.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable start-with-ampersand Completion Item Provider"
},
"commonLisp.providers.CompletionItemProviders.asterisk.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable start-with-asterisk Completion Item Provider"
},
"commonLisp.providers.CompletionItemProviders.colon.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable start-with-colon Completion Item Provider"
},
"commonLisp.providers.CompletionItemProviders.tilde.enabled": {
"type": "boolean",
"default": false,
"markdownDescription": "Enable start-with-tilde Completion Item Provider"
},
"commonLisp.providers.CompletionItemProviders.sharpsign.enabled": {
"type": "boolean",
"default": false,
"markdownDescription": "Enable start-with-sharpsign Completion Item Provider"
},
"commonLisp.providers.HoverProviders.original.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable Hover Provider with spec-defined documentation"
},
"commonLisp.providers.HoverProviders.user.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable Hover Provider with user-defined documentation"
},
"commonLisp.providers.DefinitionProvider.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable Definition Provider"
},
"commonLisp.providers.DocumentSymbolProvider.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable Document Symbol Provider"
},
"commonLisp.providers.ReferenceProvider.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable Reference Provider"
},
"commonLisp.providers.DocumentSemanticTokensProvider.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable Document Semantic Tokens Provider"
},
"commonLisp.providers.CallHierarchyProvider.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable Call Hierarchy Provider"
},
"commonLisp.ReferenceProvider.ExcludedRanges": {
"type": "string",
"default": "comment and string",
"enum": [
"comment and string",
"comment",
"string",
"none"
],
"markdownEnumDescriptions": [
"Reference results will exclude the ranges inside comments and strings.",
"Reference results will exclude the ranges inside comments only.",
"Reference results will exclude the ranges inside strings only.",
"Reference results will include all the ranges."
]
},
"commonLisp.DefinitionProvider.ExcludedRanges": {
"type": "string",
"default": "none",
"markdownDescription": "Note that userHoverProvider will use this config as ExcludedRanges",
"enum": [
"comment and string",
"comment",
"string",
"none"
],
"markdownEnumDescriptions": [
"Respond to the selected word which is NOT inside comments and strings.",
"Respond to the selected word which is NOT inside comments.",
"Respond to the selected word which is NOT inside strings.",
"Respond to all the selected words."
]
},
"commonLisp.DocumentSemanticTokensProvider.NotColorQuoted": {
"type": "boolean",
"default": false,
"markdownDescription": "If true, any `quote` will NOT be colored."
},
"commonLisp.DocumentSemanticTokensProvider.ExcludedRanges": {
"type": "string",
"default": "comment and string",
"enum": [
"comment and string",
"comment",
"string",
"none"
],
"markdownEnumDescriptions": [
"Highlight the tokens which are NOT inside comments and strings.",
"Highlight the tokens which are NOT inside comments.",
"Highlight the tokens which are NOT inside strings.",
"Highlight all the tokens."
]
},
"commonLisp.DocumentSemanticTokensProvider.SingleQuoteAndBackQuote.Highlight": {
"type": "string",
"default": "single quote and backquote's comma only",
"enum": [
"single quote",
"single quote and backquote's comma only",
"single quote and backquote's all",
"backquote's comma only",
"backquote's all",
"none"
],
"markdownEnumDescriptions": [
"Highlight normal tokens and the tokens which are in Single Quote.",
"Highlight normal tokens and the tokens which are in Single Quote and BackQuote's comma only.",
"Highlight normal tokens and the tokens which are in Single Quote and BackQuote.",
"Highlight normal tokens and the tokens which are in BackQuote's comma only.",
"Highlight normal tokens and the tokens which are in BackQuote.",
"Highlight normal tokens only."
]
},
"commonLisp.StaticAnalysis.SingleQuoteAndBackQuote.ExcludedRanges": {
"type": "string",
"default": "backquote, but comma is saved",
"enum": [
"single quote",
"single quote and backquote, but comma is saved",
"single quote and backquote's all",
"backquote, but comma is saved",
"backquote's all",
"none"
],
"markdownEnumDescriptions": [
"Perform static analysis on normal tokens and the tokens which are NOT in Single Quote.",
"Perform static analysis on normal tokens and the tokens which are NOT in Single Quote and NOT in BackQuote, but the start-with-comma part is saved.",
"Perform static analysis on normal tokens and the tokens which are NOT in Single Quote and NOT in BackQuote.",
"Perform static analysis on normal tokens and the tokens which are NOT in BackQuote, but the start-with-comma part is saved.",
"Perform static analysis on normal tokens and the tokens which are NOT in BackQuote.",
"Perform static analysis on all the tokens, even though they are in Single Quote or BackQuote."
]
},
"commonLisp.ReferenceProvider.BackQuoteFilter.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable BackQuote Filter to only include symbols with commas in the backquote result."
},
"commonLisp.DefinitionProvider.BackQuoteFilter.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable BackQuote Filter to only respond to the symbols with commas in the backquote result."
}
}
}
},
"icon": "./images/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/qingpeng9802/vscode-common-lisp.git"
},
"bugs": {
"url": "https://github.com/qingpeng9802/vscode-common-lisp/issues"
},
"homepage": "https://github.com/qingpeng9802/vscode-common-lisp/blob/master/README.md",
"scripts": {
"package": "vsce package",
"publish": "vsce publish",
"publish-pre": "vsce publish --pre-release",
"bg": "node syntaxes/scripts/build_grammar.mjs",
"testg": "node syntaxes/scripts/test_grammar.mjs",
"lint": "eslint src syntaxes/scripts",
"pretest": "npm run esbuildc",
"vscode:prepublish": "npm run bg & npm run webpackp",
"webpackc": "webpack",
"webpackw": "webpack --watch",
"webpackp": "webpack --mode production --devtool hidden-source-map",
"esbuild-base": "esbuild ./src/web/extension.ts --bundle --outfile=./dist/web/extension.js --external:vscode --format=cjs --platform=node",
"esbuildp": "npm run esbuild-base -- --minify",
"esbuildc": "npm run esbuild-base -- --sourcemap",
"esbuildw": "npm run esbuild-base -- --sourcemap --watch",
"tscc": "tsc -p ./",
"tsccd": "tsc -p ./ --declaration --declarationMap",
"diff": "cross-env diff syntaxes/fixtures/baselines syntaxes/fixtures/generated",
"accept": "copyfiles -u 3 \"syntaxes/fixtures/generated/*\" syntaxes/fixtures/baselines"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.11.19",
"@types/vscode": "1.63.0",
"@types/webpack-env": "^1.18.4",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"assert": "^2.1.0",
"dependency-cruiser": "^16.2.0",
"esbuild": "^0.20.0",
"eslint": "^8.56.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-unused-imports": "^3.1.0",
"fs": "^0.0.1-security",
"js-yaml": "^4.1.0",
"process": "^0.11.10",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"unimported": "^1.31.1",
"webpack": "^5.90.2",
"webpack-cli": "^5.1.4",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"vscode-oniguruma": "latest",
"vscode-textmate": "latest"
}
}