PyCharm does not highlight unused imports and not installed imports anymore
Hi!
I have a problem with imports in project files. Until a while ago it used to grey out unused imports and to highlight with a red underline missing packages that I'm trying to use. Now, I can type in whatever package I want, even non-existing but it doesn't highlight anything anymore, but letting me know it`s not in project's requirements.txt
Basically a while ago, the non existing packages would've been highlighted and when hovering above them or hitting CTRL + Enter it would've show me a pop-up to install the package.
For the unused, it would've grey out the packages so I know I can delete them because they are not used.
What should I edit to fix this? It's getting annoying.
Please sign in to leave a comment.
I wasn't able to reproduce the issue on the latest. Please try upgrading the IDE and do File | Invalidate caches with all options checked.
If this doesn't help to solve the issue, please get IDE logs with Help | Collect Logs and Diagnostic Data, upload the archive here: https://uploads.services.jetbrains.com/ and tell us the upload ID.