|
32 | 32 | "source.python" |
33 | 33 | ], |
34 | 34 | "configSchema": { |
35 | | - "pylsPath": { |
36 | | - "title": "Python Language Server Path", |
| 35 | + "python": { |
| 36 | + "title": "Python Executable", |
37 | 37 | "order": 1, |
38 | 38 | "type": "string", |
39 | | - "default": "pyls", |
40 | | - "description": "Absolute path to `pyls` executable." |
| 39 | + "default": "python", |
| 40 | + "description": "Absolute path of your Python binary. This is used to launch the Python language server. Make sure to install `pyls` for this version of Python. Changes will take effect after a restart of the language server." |
41 | 41 | }, |
42 | 42 | "pylsConfigurationSources": { |
43 | 43 | "order": 2, |
|
46 | 46 | "pycodestyle", |
47 | 47 | "flake8" |
48 | 48 | ], |
49 | | - "description": "List of configuration sources to use. Requires `pyls` 0.12.1+", |
| 49 | + "description": "List of configuration sources to use.", |
50 | 50 | "items": { |
51 | 51 | "type": "string", |
52 | 52 | "enum": [ |
|
59 | 59 | "order": 3, |
60 | 60 | "type": "string", |
61 | 61 | "default": ".ropeproject", |
62 | | - "description": "The name of the folder in which rope stores project configurations and data. Pass `null` for not using such a folder at all. Requires `pyls` 0.17+" |
| 62 | + "description": "The name of the folder in which rope stores project configurations and data. Pass `null` for not using such a folder at all." |
63 | 63 | }, |
64 | 64 | "pylsPlugins": { |
65 | 65 | "title": "Python Language Server Plugins", |
|
140 | 140 | "title": "All Scopes", |
141 | 141 | "type": "boolean", |
142 | 142 | "default": true, |
143 | | - "description": "If enabled lists the names of all scopes instead of only the module namespace. Requires `pyls` 0.7+" |
| 143 | + "description": "If enabled lists the names of all scopes instead of only the module namespace." |
144 | 144 | } |
145 | 145 | } |
146 | 146 | }, |
|
181 | 181 | "type": "string" |
182 | 182 | }, |
183 | 183 | "default": [], |
184 | | - "description": "Select errors and warnings. Requires `pyls` 0.14+" |
| 184 | + "description": "Select errors and warnings." |
185 | 185 | }, |
186 | 186 | "ignore": { |
187 | 187 | "order": 3, |
|
199 | 199 | "items": { |
200 | 200 | "type": "string" |
201 | 201 | }, |
202 | | - "description": "Ignore errors and warnings. Requires `pyls` 0.14+" |
| 202 | + "description": "Ignore errors and warnings." |
203 | 203 | }, |
204 | 204 | "hangClosing": { |
205 | 205 | "order": 4, |
206 | 206 | "title": "Hang Closing", |
207 | 207 | "type": "boolean", |
208 | 208 | "default": false, |
209 | | - "description": "Hang closing bracket instead of matching indentation of opening bracket's line. Requires `pyls` 0.12.1+" |
| 209 | + "description": "Hang closing bracket instead of matching indentation of opening bracket's line." |
210 | 210 | }, |
211 | 211 | "maxLineLength": { |
212 | 212 | "order": 5, |
213 | 213 | "title": "Max Line Length", |
214 | 214 | "type": "number", |
215 | 215 | "default": 79, |
216 | | - "description": "Set maximum allowed line length. Requires `pyls` 0.12.1+" |
| 216 | + "description": "Set maximum allowed line length." |
217 | 217 | } |
218 | 218 | } |
219 | 219 | }, |
|
233 | 233 | "title": "Match", |
234 | 234 | "type": "string", |
235 | 235 | "default": "(?!test_).*\\.py", |
236 | | - "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'. Requires `pyls` 0.17+" |
| 236 | + "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'." |
237 | 237 | }, |
238 | 238 | "matchDir": { |
239 | 239 | "order": 3, |
240 | 240 | "title": "Match Dir", |
241 | 241 | "type": "string", |
242 | 242 | "default": "[^\\.].*", |
243 | | - "description": "Search only dirs that exactly match the given regular expression; default is to match dirs which do not begin with a dot. Requires `pyls` 0.17+" |
| 243 | + "description": "Search only dirs that exactly match the given regular expression; default is to match dirs which do not begin with a dot." |
244 | 244 | }, |
245 | 245 | "select": { |
246 | 246 | "order": 4, |
|
250 | 250 | "items": { |
251 | 251 | "type": "string" |
252 | 252 | }, |
253 | | - "description": "Select errors and warnings Requires `pyls` 0.17+" |
| 253 | + "description": "Select errors and warnings" |
254 | 254 | }, |
255 | 255 | "ignore": { |
256 | 256 | "order": 5, |
|
260 | 260 | "items": { |
261 | 261 | "type": "string" |
262 | 262 | }, |
263 | | - "description": "Ignore errors and warnings Requires `pyls` 0.17+" |
| 263 | + "description": "Ignore errors and warnings" |
264 | 264 | }, |
265 | 265 | "convention": { |
266 | 266 | "order": 6, |
|
272 | 272 | "" |
273 | 273 | ], |
274 | 274 | "default": "", |
275 | | - "description": "Choose the basic list of checked errors by specifying an existing convention. Requires `pyls` 0.17+" |
| 275 | + "description": "Choose the basic list of checked errors by specifying an existing convention." |
276 | 276 | }, |
277 | 277 | "addSelect": { |
278 | 278 | "order": 7, |
|
282 | 282 | "items": { |
283 | 283 | "type": "string" |
284 | 284 | }, |
285 | | - "description": "Select errors and warnings in addition to the specified convention. Requires `pyls` 0.17+" |
| 285 | + "description": "Select errors and warnings in addition to the specified convention." |
286 | 286 | }, |
287 | 287 | "addIgnore": { |
288 | 288 | "order": 8, |
|
292 | 292 | "items": { |
293 | 293 | "type": "string" |
294 | 294 | }, |
295 | | - "description": "Ignore errors and warnings in addition to the specified convention. Requires `pyls` 0.17+" |
| 295 | + "description": "Ignore errors and warnings in addition to the specified convention." |
296 | 296 | } |
297 | 297 | } |
298 | 298 | }, |
|
316 | 316 | "title": "Enabled", |
317 | 317 | "type": "boolean", |
318 | 318 | "default": false, |
319 | | - "description": "Enable or disable the plugin. Requires `pyls` 0.12.1+" |
| 319 | + "description": "Enable or disable the plugin." |
320 | 320 | } |
321 | 321 | } |
322 | 322 | }, |
|
340 | 340 | "title": "Enabled", |
341 | 341 | "type": "boolean", |
342 | 342 | "default": true, |
343 | | - "description": "Enable or disable autopep8. Formats code according to PyCodeStyle config. Requires `pyls` 0.17+" |
| 343 | + "description": "Enable or disable autopep8. Formats code according to PyCodeStyle config." |
344 | 344 | } |
345 | 345 | } |
346 | 346 | } |
|
0 commit comments