When I close Intellij Idea and start it again it begin indexing files, but I just close and open (for example after plugin install). Is there a way to "save" this index between restarts and do not refresh it after plugin installs?
Indexing To force reindex a project, use Invalidate caches. Indexing in IntelliJ IDEA is responsible for the core features of the IDE: code completion, inspections, finding usages, navigation, syntax highlighting, and refactorings.
By default, IntelliJ IDEA stores user-specific files for each IDE instance (configuration, caches, plugins, logs, and so on) in the user's home directory.
Shared project indexes are built for all project sources, libraries, and SDKs. You can generate them on one computer and then apply on another computer. This is the main advantage of shared indexes over ordinary indexes.
There is no way to cancel/disable indexing - it is a core feature, all of IntelliJ functionality (syntax/error highlighting, code completion, code inspections, navigation, refactoring, code coverage, search, etc.) is based on it. Please try invalidating caches (File/Invalidate caches, Restart) - does the problem persist?
Also, do you have any build tasks running in background? Do they watch your files (i.e. are they triggered on file changing)? I'd suggest excluding all dynamically generated folders from the project (Mark directory as/Excluded) - this should make IntelliJ much faster. Note also that scanning Idea project folders for viruses slows down indexing tremendously, that's why excluding them from from on-access scan is required.
Having said that, you may want to increase the priority of idea.exe and increase cache,heap memory area, etc allocation in vmoptions.
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