-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
156 lines (156 loc) · 5.36 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
{
"publisher": "marian",
"name": "stexls-vscode-client",
"repository": {
"type": "git",
"url": "https://gl.kwarc.info/Marian6814/stexls-vscode-client"
},
"displayName": "stexls-vscode-client",
"description": "VSCode client for the stex language server",
"version": "1.6.1",
"engines": {
"vscode": "^1.44.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:latex"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "latex",
"aliases": [
"LaTeX",
"Latex",
"sLaTeX"
],
"extensions": [
".tex",
"*.tex"
]
}
],
"configuration": {
"title": "stexls",
"properties": {
"stexls.pythonInterpreter": {
"type": "string",
"default": "python3",
"description": "The python executable used to starts the server. The selected interpreter must have the stexls package installed. If you have the python extension installed, keep in mind that the interpreter you can select there is not shared with this extension. (restart required)"
},
"stexls.stexlsInstallOptions": {
"type": "array",
"default": [
"-m",
"pip",
"install",
"\"git+https://github.com/slatex/stexls.git\""
],
"description": "Install options for python that install stexls for you."
},
"stexls.compileWorkspaceOnStartupFileLimit": {
"type": "integer",
"default": 10000,
"descriptions": "Maximum number of files the server will pre-compile on startup using multiprocessing with `stexls: Num Jobs`. Setting this to 0 means, that no files are pre-compiled. Setting it to -1 removes the limit, but that is not recommended. Files outside this limit will still be compiled while you work normally, but without multiprocessing. (restart required)"
},
"stexls.enableTrefier": {
"type": "string",
"default": "enabled",
"enum": [
"disabled",
"enabled",
"full"
],
"description": "Enables diagnostics based on trefier tagging. By default, \"enabled\" only applies the trefier to open files in order to speed everything up. If you want to apply it to all files set this to \"full\". (restart required)"
},
"stexls.enableLintingOfRelatedFiles": {
"type": "boolean",
"default": true,
"description": "Lint every file that directly or indirectly references a file that was changed. Because only compiled and buffered files are searched this may take some time to work after start up. Setting a high `stexls: Compile Workspace On Startup File Limit` makes this work on startup. (restart required)"
},
"stexls.numJobs": {
"type": "integer",
"default": 4,
"minimum": 1,
"description": "Number of processes used for compilation of the workspace."
},
"stexls.delay": {
"type": "number",
"default": 2,
"minimum": 1,
"description": "Delay when buffering linting jobs. Linting is buffered for <value> seconds after the user stops typing, opens a file or saves. (restart required)"
},
"stexls.logfile": {
"type": "string",
"default": "/tmp/stexls.log",
"description": "Path to logfile used by the server. Logs information according to loglevel in this file. (restart required)"
},
"stexls.loglevel": {
"type": "string",
"enum": [
"critical",
"error",
"warning",
"info",
"debug"
],
"default": "error",
"description": "The maximum log level. \"critical\" will only log critical errors, while \"debug\" will log everything. (restart required)"
},
"stexls.command": {
"type": "array",
"default": [
"-m",
"stexls",
"lsp",
"--transport-kind",
"ipc"
],
"description": "The command executed by the selected python interpreter. This should start the language server. Go to a terminal and type 'python -m stexls lsp --help' for more information. This should never have to change."
},
"stexls.trefierDownloadLink": {
"type": "string",
"default": "https://nc.kwarc.info/s/2CFLwK3sNBfd6WW/download",
"description": "Link to where the seq2seq.model file is hosted. The model is then downloaded to `~/.stexls/seq2seq.model` if the model file doesn't exist."
},
"stexls.trefierFileSizeLimitKB": {
"type": "integer",
"default": 50,
"description": "File size limit in Kilobyte until which files will be tagged using the trefier tagger model. If the file is larger than this, it will be ignored."
},
"stexls.linterFileSizeLimitKB": {
"type": "integer",
"default": 100,
"description": "File size limit in Kilobyte of files that the linter will accept. If the file is larger than this number in Kilobyte, then it will simply ignore the file and not generate diagnostics."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.44.0",
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"eslint": "^6.8.0",
"@typescript-eslint/parser": "^2.26.0",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"glob": "^7.1.6",
"mocha": "^7.1.1",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
},
"dependencies": {
"vscode-languageclient": "^6.1.3"
}
}