Skip to content

Commit 6e88d93

Browse files
Get good auto-completion for pylsp driver
For #1462
1 parent bd61801 commit 6e88d93

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.vscode/settings.json.tmpl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,17 @@
1919
"editor.detectIndentation": false
2020
},
2121
"python.analysis.extraPaths": ["testsuite"],
22+
"python.analysis.packageIndexDepths": [
23+
{
24+
"name": "lsprotocol",
25+
"depth": 10
26+
},
27+
{
28+
"name": "pytest_lsp",
29+
"depth": 4
30+
}
31+
],
32+
"python.analysis.autoImportCompletions": true,
2233
"flake8.args": ["--max-line-length", "88"],
2334
"[python]": {
2435
// Use the same line length as black and flake8

0 commit comments

Comments
 (0)