Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Unresolved import not going away automatically after installing packages #825

Closed
luabud opened this issue Mar 26, 2019 · 1 comment
Closed
Assignees

Comments

@luabud
Copy link
Member

luabud commented Mar 26, 2019

image

I have to reload to solve the unresolved imports. It would be nice if it could automatically resolve it after installing the packages

@luabud
Copy link
Member Author

luabud commented Apr 3, 2019

To reproduce it you just need to create a brand new virtual environment, import a package that is not installed (e.g. numpy), get the import warning from the LS and then install the package in the terminal:

LanguageServerImportUpdate

The warning will only go away after reloading the page. I think this behavior might be confusing because users might think something wrong is happening (e.g. the packages were not correctly installed).

AlexanderSher added a commit to AlexanderSher/python-language-server that referenced this issue Apr 3, 2019
@AlexanderSher AlexanderSher self-assigned this Apr 3, 2019
jakebailey pushed a commit to jakebailey/python-language-server that referenced this issue Nov 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants