VS Code not suggesting Textual auto imports #2111
denisrosset
started this conversation in
Ideas
Replies: 1 comment
-
This was a tricky issue to fix. Thanks for the solution! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've checked the issues so far.
My issue is that VS Code does not offer imports for standard textual identifiers such as Vertical.
The culprit is the analysis depth of the Pylance extension. This can be configured by setting the "python.analysis.packageIndexDepths" to 10 (which is probably overkill).
I suggest to document this necessary setting somewhere in the documentation, for ex. "Textual and IDEs", where the peculiarities of the VS Code Terminal emulation could as well be discussed.
Beta Was this translation helpful? Give feedback.
All reactions