-
Notifications
You must be signed in to change notification settings - Fork 285
/
package.json
316 lines (316 loc) · 13.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
{
"name": "pyls",
"description": "Python language server",
"author": "Sourcegraph",
"repository": "https://github.com/Microsoft/vscode-languageserver-node",
"license": "MIT",
"version": "0.0.1",
"publisher": "sqs",
"engines": {
"vscode": "^1.15.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"contributes": {
"configuration": {
"title": "Python Language Server Configuration",
"type": "object",
"properties": {
"pyls.executable": {
"type": "string",
"default": "pyls",
"description": "Language server executable"
},
"pyls.configurationSources": {
"type": "array",
"default": ["pycodestyle"],
"description": "List of configuration sources to use.",
"items": {
"type": "string",
"enum": ["pycodestyle", "pyflakes"]
},
"uniqueItems": true
},
"pyls.plugins.jedi.extra_paths": {
"type": "array",
"default": [],
"description": "Define extra paths for jedi.Script."
},
"pyls.plugins.jedi.env_vars": {
"type": "dictionary",
"default": null,
"description": "Define environment variables for jedi.Script and Jedi.names."
},
"pyls.plugins.jedi.environment": {
"type": "string",
"default": null,
"description": "Define environment for jedi.Script and Jedi.names."
},
"pyls.plugins.jedi_completion.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable the plugin."
},
"pyls.plugins.jedi_completion.include_params": {
"type": "boolean",
"default": true,
"description": "Auto-completes methods and classes with tabstops for each parameter."
},
"pyls.plugins.jedi_completion.include_class_objects": {
"type": "boolean",
"default": true,
"description": "Adds class objects as a separate completion item."
},
"pyls.plugins.jedi_completion.fuzzy": {
"type": "boolean",
"default": false,
"description": "Enable fuzzy when requesting autocomplete."
},
"pyls.plugins.jedi_definition.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable the plugin."
},
"pyls.plugins.jedi_definition.follow_imports": {
"type": "boolean",
"default": true,
"description": "The goto call will follow imports."
},
"pyls.plugins.jedi_definition.follow_builtin_imports": {
"type": "boolean",
"default": true,
"description": "If follow_imports is True will decide if it follow builtin imports."
},
"pyls.plugins.jedi_hover.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable the plugin."
},
"pyls.plugins.jedi_references.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable the plugin."
},
"pyls.plugins.jedi_signature_help.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable the plugin."
},
"pyls.plugins.jedi_symbols.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable the plugin."
},
"pyls.plugins.jedi_symbols.all_scopes": {
"type": "boolean",
"default": true,
"description": "If True lists the names of all scopes instead of only the module namespace."
},
"pyls.plugins.mccabe.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable the plugin."
},
"pyls.plugins.mccabe.threshold": {
"type": "number",
"default": 15,
"description": "The minimum threshold that triggers warnings about cyclomatic complexity."
},
"pyls.plugins.preload.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable the plugin."
},
"pyls.plugins.preload.modules": {
"type": "array",
"default": null,
"items": {
"type": "string"
},
"uniqueItems": true,
"description": "List of modules to import on startup"
},
"pyls.plugins.pycodestyle.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable the plugin."
},
"pyls.plugins.pycodestyle.exclude": {
"type": "array",
"default": null,
"items": {
"type": "string"
},
"uniqueItems": true,
"description": "Exclude files or directories which match these patterns."
},
"pyls.plugins.pycodestyle.filename": {
"type": "array",
"default": null,
"items": {
"type": "string"
},
"uniqueItems": true,
"description": "When parsing directories, only check filenames matching these patterns."
},
"pyls.plugins.pycodestyle.select": {
"type": "array",
"default": null,
"items": {
"type": "string"
},
"uniqueItems": true,
"description": "Select errors and warnings"
},
"pyls.plugins.pycodestyle.ignore": {
"type": "array",
"default": null,
"items": {
"type": "string"
},
"uniqueItems": true,
"description": "Ignore errors and warnings"
},
"pyls.plugins.pycodestyle.hangClosing": {
"type": "boolean",
"default": null,
"description": "Hang closing bracket instead of matching indentation of opening bracket's line."
},
"pyls.plugins.pycodestyle.maxLineLength": {
"type": "number",
"default": null,
"description": "Set maximum allowed line length."
},
"pyls.plugins.pydocstyle.enabled": {
"type": "boolean",
"default": false,
"description": "Enable or disable the plugin."
},
"pyls.plugins.pydocstyle.convention": {
"type": "string",
"default": null,
"enum": [
"pep257",
"numpy"
],
"description": "Choose the basic list of checked errors by specifying an existing convention."
},
"pyls.plugins.pydocstyle.addIgnore": {
"type": "array",
"default": null,
"items": {
"type": "string"
},
"uniqueItems": true,
"description": "Ignore errors and warnings in addition to the specified convention."
},
"pyls.plugins.pydocstyle.addSelect": {
"type": "array",
"default": null,
"items": {
"type": "string"
},
"uniqueItems": true,
"description": "Select errors and warnings in addition to the specified convention."
},
"pyls.plugins.pydocstyle.ignore": {
"type": "array",
"default": null,
"items": {
"type": "string"
},
"uniqueItems": true,
"description": "Ignore errors and warnings"
},
"pyls.plugins.pydocstyle.select": {
"type": "array",
"default": null,
"items": {
"type": "string"
},
"uniqueItems": true,
"description": "Select errors and warnings"
},
"pyls.plugins.pydocstyle.match": {
"type": "string",
"default": "(?!test_).*\\.py",
"description": "Check only files that exactly match the given regular expression; default is to match files that don't start with 'test_' but end with '.py'."
},
"pyls.plugins.pydocstyle.matchDir": {
"type": "string",
"default": "[^\\.].*",
"description": "Search only dirs that exactly match the given regular expression; default is to match dirs which do not begin with a dot."
},
"pyls.plugins.pyflakes.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable the plugin."
},
"pyls.plugins.pylint.enabled": {
"type": "boolean",
"default": false,
"description": "Enable or disable the plugin."
},
"pyls.plugins.pylint.args": {
"type": "array",
"default": null,
"items": {
"type": "string"
},
"uniqueItems": false,
"description": "Arguments to pass to pylint."
},
"pyls.plugins.pylint.executable": {
"type": "string",
"default": null,
"description": "Executable to run pylint with. Enabling this will run pylint on unsaved files via stdin. Can slow down workflow. Only works with python3."
},
"pyls.plugins.rope_completion.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable the plugin."
},
"pyls.plugins.yapf.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable the plugin."
},
"pyls.rope.extensionModules": {
"type": "string",
"default": null,
"description": "Builtin and c-extension modules that are allowed to be imported and inspected by rope."
},
"pyls.rope.ropeFolder": {
"type": "array",
"default": null,
"items": {
"type": "string"
},
"uniqueItems": true,
"description": "The name of the folder in which rope stores project configurations and data. Pass `null` for not using such a folder at all."
}
}
}
},
"main": "./out/extension",
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"vscode": "npm run vscode:prepublish && VSCODE=$(which code-insiders || which code || echo echo ERROR: neither the code nor code-insiders vscode executable is installed); USER=dummy-dont-share-vscode-instance $VSCODE --user-data-dir=$PWD/.vscode-dev/user-data --extensionHomePath=$PWD/.vscode-dev/extensions --extensionDevelopmentPath=$PWD $*"
},
"devDependencies": {
"typescript": "^2.3.4",
"vscode": "^1.1.4",
"mocha": "^2.3.3",
"@types/node": "^6.0.40",
"@types/mocha": "^2.2.32"
},
"dependencies": {
"vscode-languageclient": "^3.4.5"
}
}