VS Code: fix auto-imports for textual modules

This commit is contained in:
Isaiah Odhner 2023-05-18 11:10:15 -04:00
parent b4f958623d
commit 453111269e

View File

@ -1,3 +1,12 @@
{
"python.analysis.packageIndexDepths": [
// The default depth is 1 (top-level only),
// which doesn't let auto-imports work for Textual,
// i.e. the Quick Fix for missing names, and
// maybe an auto-complete feature that I don't use.
// (2 might be sufficient.)
// https://github.com/Textualize/textual/issues/2104
{"name": "textual", "depth": 5}
],
"css.validate": false
}