forked from latex-lsp/texlab-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
456 lines (456 loc) · 14.4 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
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
{
"name": "texlab",
"displayName": "TexLab",
"description": "LaTeX and BibTeX language support for Visual Studio Code",
"version": "5.21.0",
"publisher": "efoerster",
"license": "GPL-3.0-only",
"repository": {
"type": "git",
"url": "https://github.com/latex-lsp/texlab-vscode"
},
"homepage": "https://github.com/latex-lsp/texlab",
"bugs": {
"url": "https://github.com/latex-lsp/texlab-vscode/issues"
},
"engines": {
"vscode": "^1.67.0"
},
"main": "./dist/extension.js",
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"lint": "eslint src",
"format": "prettier --write \"src/**/*.{ts,json}\" \"{grammars,languages}/**/*.json\" \"*.{ts,json,yml,md}\" "
},
"devDependencies": {
"@eslint/js": "^9.14.0",
"@types/eslint__js": "^8.42.3",
"@types/node": "20.x",
"@types/vscode": "~1.67.0",
"eslint": "^9.14.0",
"prettier": "^3.3.3",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "^5.6.3",
"typescript-eslint": "^8.13.0",
"vscode-languageclient": "^9.0.1",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4"
},
"categories": [
"Programming Languages",
"Snippets",
"Other"
],
"keywords": [
"latex",
"tex",
"bibtex"
],
"icon": "images/icon.png",
"galleryBanner": {
"color": "#F5F5F5",
"theme": "light"
},
"preview": false,
"badges": [
{
"url": "https://img.shields.io/github/workflow/status/latex-lsp/texlab-vscode/CI.svg?logo=github",
"href": "https://github.com/latex-lsp/texlab-vscode/actions",
"description": "Continuous Integration"
}
],
"activationEvents": [
"onLanguage:latex",
"onLanguage:bibtex"
],
"contributes": {
"configuration": [
{
"title": "TeXLab configuration",
"properties": {
"texlab.build.executable": {
"type": "string",
"default": "latexmk",
"description": "Path to a LaTeX build tool."
},
"texlab.build.args": {
"type": "array",
"default": [
"-pdf",
"-interaction=nonstopmode",
"-synctex=1",
"%f"
],
"description": "Additional arguments that are passed to the build tool."
},
"texlab.build.forwardSearchAfter": {
"type": "boolean",
"default": false,
"description": "Execute forward search after building"
},
"texlab.build.onSave": {
"type": "boolean",
"default": false,
"description": "Build after saving a file"
},
"texlab.build.useFileList": {
"type": "boolean",
"default": false,
"description": "Use the .fls files as an additional input for project detection"
},
"texlab.build.auxDirectory": {
"type": "string",
"default": ".",
"description": "Directory containing the aux files."
},
"texlab.build.logDirectory": {
"type": "string",
"default": ".",
"description": "Directory containing the build log files."
},
"texlab.build.pdfDirectory": {
"type": "string",
"default": ".",
"description": "Directory containing the output file."
},
"texlab.build.filename": {
"type": "string",
"default": null,
"description": "The base name of the output file."
},
"texlab.forwardSearch.executable": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to a PDF previewer that supports SyncTeX."
},
"texlab.forwardSearch.args": {
"type": "array",
"default": [],
"description": "Additional arguments that are passed to the previewer."
},
"texlab.chktex.onOpenAndSave": {
"type": "boolean",
"default": true,
"description": "Lint using chktex after opening and saving a file."
},
"texlab.chktex.onEdit": {
"type": "boolean",
"default": false,
"description": "Lint using chktex after changing a file"
},
"texlab.chktex.additionalArgs": {
"type": "array",
"default": [],
"description": "Additional arguments that are passed to ChkTeX"
},
"texlab.server.trace": {
"type": "boolean",
"default": false,
"description": "Enable the trace verbosity of the server."
},
"texlab.server.logFile": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the server log file."
},
"texlab.server.path": {
"type": [
"string",
"null"
],
"default": null,
"description": "Full path to the server executable."
},
"texlab.bibtexFormatter": {
"type": "string",
"enum": [
"none",
"texlab",
"latexindent"
],
"default": "texlab",
"description": "BibTeX formatter to use."
},
"texlab.formatterLineLength": {
"type": "integer",
"default": 80,
"description": "Maximum amount of characters per line (0 = disable)."
},
"texlab.latexFormatter": {
"type": "string",
"enum": [
"none",
"texlab",
"latexindent"
],
"default": "latexindent",
"description": "LaTeX formatter to use."
},
"texlab.latexindent.local": {
"type": [
"string",
"null"
],
"default": null,
"description": "Configures the --local flag of latexindent."
},
"texlab.latexindent.modifyLineBreaks": {
"type": "boolean",
"default": false,
"description": "Configures the --modifylinebreaks flag of latexindent."
},
"texlab.latexindent.replacement": {
"type": [
"string",
"null"
],
"default": null,
"description": "Adds the specified replacement flag to latexindent."
},
"texlab.diagnostics.allowedPatterns": {
"type": "array",
"default": [],
"description": "If specified, only diagnostics that match at least one of the specified patterns are displayed."
},
"texlab.diagnostics.ignoredPatterns": {
"type": "array",
"default": [],
"description": "If specified, only diagnostics that match none of the specified patterns are displayed."
},
"texlab.symbols.allowedPatterns": {
"type": "array",
"default": [],
"description": "If specified, only symbols that match at least one of the specified patterns are displayed."
},
"texlab.symbols.ignoredPatterns": {
"type": "array",
"default": [],
"description": "If specified, only symbols that match none of the specified patterns are displayed."
},
"texlab.completion.matcher": {
"type": "string",
"enum": [
"fuzzy",
"fuzzy-ignore-case",
"prefix",
"prefix-ignore-case"
],
"default": "fuzzy-ignore-case",
"description": "Matching algorithm used to filter the completion items."
},
"texlab.inlayHints.labelDefinitions": {
"type": "boolean",
"default": true,
"description": "If specified, inlay hints are shown for \\label commands."
},
"texlab.inlayHints.labelReferences": {
"type": "boolean",
"default": true,
"description": "If specified, inlay hints are shown for label references (e. g. \\ref)."
},
"texlab.inlayHints.maxLength": {
"type": [
"number",
"null"
],
"default": null,
"description": "If specified, inlay hints are truncated to the specified length."
},
"texlab.experimental.followPackageLinks": {
"type": "boolean",
"default": true,
"description": "If specified, dependencies of packages are resolved and included in the dependency graph."
},
"texlab.experimental.mathEnvironments": {
"type": "array",
"default": [],
"description": "Extends the list of environments considered as math environments."
},
"texlab.experimental.enumEnvironments": {
"type": "array",
"default": [],
"description": "Extends the list of environments considered as enumeration environments."
},
"texlab.experimental.verbatimEnvironments": {
"type": "array",
"default": [],
"description": "Do not report diagnostics from these environments."
},
"texlab.experimental.citationCommands": {
"type": "array",
"default": [],
"description": "Customize the list of commands that reference BibTeX entries."
},
"texlab.experimental.labelDefinitionCommands": {
"type": "array",
"default": [],
"description": "Customize the list of commands that define LaTeX labels."
},
"texlab.experimental.labelReferenceCommands": {
"type": "array",
"default": [],
"description": "Customize the list of commands that reference LaTeX labels."
},
"texlab.experimental.labelDefinitionPrefixes": {
"type": "array",
"default": [],
"description": "Customize the list of commands that define LaTeX labels with a prefix."
},
"texlab.experimental.labelReferencePrefixes": {
"type": "array",
"default": [],
"description": "Customize the list of commands that reference LaTeX labels with a prefix."
}
}
}
],
"configurationDefaults": {
"[latex]": {
"editor.wordBasedSuggestions": false,
"editor.suggest.snippetsPreventQuickSuggestions": false
},
"[bibtex]": {
"editor.wordBasedSuggestions": false,
"editor.suggest.snippetsPreventQuickSuggestions": false
}
},
"commands": [
{
"command": "latex.build",
"title": "Build file",
"description": "Builds the current file using the configured build tool.",
"category": "LaTeX"
},
{
"command": "latex.build.cancel",
"title": "Cancel build",
"description": "Builds the current file using the configured build tool.",
"category": "LaTeX"
},
{
"command": "latex.forwardSearch",
"title": "Forward Search",
"description": "Performs a forward search from the current file.",
"category": "LaTeX"
},
{
"command": "latex.cleanAuxiliary",
"title": "Clean auxiliary files (latexmk)",
"description": "Removes all auxiliary files produced by the current document.",
"category": "LaTeX"
},
{
"command": "latex.cleanArtifacts",
"title": "Clean artifacts (latexmk)",
"description": "Removes all artifacts produced by the current document.",
"category": "LaTeX"
},
{
"command": "latex.changeEnvironment",
"title": "Change environment",
"description": "Change the name of the inner-most environment that contains the cursor position.",
"category": "LaTeX"
},
{
"command": "latex.findEnvironments",
"title": "Find environments",
"description": "Returns a list of all environments that contain the cursor position.",
"category": "LaTeX"
},
{
"command": "latex.showDependencyGraph",
"title": "Show dependency graph",
"description": "Visualizes the dependencies of all files currently loaded.",
"category": "LaTeX"
}
],
"menus": {
"commandPalette": [
{
"command": "latex.build",
"when": "editorLangId =~ /(latex|bibtex)/"
},
{
"command": "latex.forwardSearch",
"when": "editorLangId == latex"
},
{
"command": "latex.cleanAuxiliary",
"when": "editorLangId =~ /(latex|bibtex)/"
},
{
"command": "latex.cleanArtifacts",
"when": "editorLangId =~ /(latex|bibtex)/"
},
{
"command": "latex.changeEnvironment",
"when": "editorLangId =~ /(latex|bibtex)/"
},
{
"command": "latex.findEnvironments",
"when": "editorLangId =~ /(latex|bibtex)/"
},
{
"command": "latex.showDependencyGraph",
"when": "editorLangId =~ /(latex|bibtex)/"
}
],
"editor/context": [
{
"command": "latex.forwardSearch",
"when": "editorLangId == latex"
}
]
},
"keybindings": [
{
"command": "latex.build",
"key": "f5",
"mac": "f5",
"when": "editorLangId =~ /(latex|bibtex)/"
},
{
"command": "latex.forwardSearch",
"key": "ctrl+alt+f",
"mac": "ctrl+alt+f",
"when": "editorLangId == latex"
}
],
"languages": [
{
"id": "latex",
"aliases": [
"LaTeX",
"latex"
],
"extensions": [
".tex",
".sty",
".cls"
],
"configuration": "./languages/latex.json"
},
{
"id": "bibtex",
"aliases": [
"BibTeX",
"bibtex"
],
"extensions": [
".bib"
],
"configuration": "./languages/bibtex.json"
}
]
}
}