Sometimes PyCharm becomes very slow. And after 20-30 mins of slowness, it rebuilds its index. Are there any ways to manually trigger rebuilding PyCharm indexes?
To force reindex a project, use Invalidate caches. Indexing in PyCharm is responsible for the core features of the IDE: code completion, inspections, finding usages, navigation, syntax highlighting, and refactorings.
In order to stop PyCharm from indexing the 'lib' directory, right-click on this directory and select Mark Directory as, then Excluded. This directory will now no longer be indexed by PyCharm.
"File" > "Invalidate Caches / Restart..."
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With