You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a python file with another module in the same directory.
However, I must first use quickfix, directly open the file, or manually import the module for it to be on the import list
I should be able to type a partial name, and pylance will show a list of modules including the local one
this issue highlighted the same problem but it was marked as resolved and yes, going back to that version does work, but I won't have all the features.
Additional information:
my related settings.json looks like this: { "python.analysis.indexing": true, "python.languageServer": "Pylance", "python.analysis.autoSearchPaths": true, "python.analysis.typeCheckingMode": "strict", "python.analysis.diagnosticMode": "workspace", }
The text was updated successfully, but these errors were encountered:
we do not add user types in auto import unless it is already used. code action on the other hand, adds all user types. this was a decision to make sure we do not add hundreds of user types in completion list.
Environment data
I have a python file with another module in the same directory.
However, I must first use quickfix, directly open the file, or manually import the module for it to be on the import list
https://imgur.com/a/YK50hxe -- the behavior
I should be able to type a partial name, and pylance will show a list of modules including the local one
this issue highlighted the same problem but it was marked as resolved and yes, going back to that version does work, but I won't have all the features.
Additional information:
my related settings.json looks like this:
{ "python.analysis.indexing": true, "python.languageServer": "Pylance", "python.analysis.autoSearchPaths": true, "python.analysis.typeCheckingMode": "strict", "python.analysis.diagnosticMode": "workspace", }
The text was updated successfully, but these errors were encountered: