Some time in the last update or two this started happening. Here's my current version:
Build #WS-173.3727.108, built on November 24, 2017
JRE: 1.8.0_152-release-1024-b6 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.3
Every time I command+click on a keyword to go to a declaration, the IDE shows a 'Resolving References' popup for a few seconds. This happens even if the reference is in the same file.
I have ensured that it isn't indexing stuff that I don't need to search for. Also, I have marked folders as excluded where applicable.
What's the best way to fix this? Do you need to release a patch?