-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
as designedNot a bug, working as intendedNot a bug, working as intended
Description
Hi,
I observed below behavior when using pyright with lsp-pyright:
A module is on shown up in the completion list for a python if and only if it has been already import by at least one other file in the same workspace. That's being said:
- if I create an empty project
- and create a new file file for it
- Auto import for all modules in this file will not work.
- But if I make another file, auto import for some modules in this file will work here if they already been imported by previous file.
Would you mind to confirm above behavior or we actually have a bug here. Besides, if it is the actual behavior then what is the reason behind it? To reduce the completion list and improve the speed?
/f
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
as designedNot a bug, working as intendedNot a bug, working as intended