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.

Related Query

More Query from same tag