Webstorm is slow when navigating to declaration
Some time in the last update or two this started happening. Here's my current version:
WebStorm 2017.3
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?
Please sign in to leave a comment.
BTW, after it finds the declaration, if I go back and retry, it takes the same amount of time.
please try taking cpu snapshots once the problem occurs - https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems
Here's a link to the snapshot: https://www.dropbox.com/s/8e378bu0ssm0hsm/WS-173.3942.31_theoutlander_14.12.2017_19.45.34.zip?dl=1
I ctrl-clicked various functions, files and variables for navigating references. Also, I had installed the latest update before I did that. The navigation felt a lot faster this time around - not sure if it's related to the update or running with the vmoptions file it created. Thanks!
found the issue, https://youtrack.jetbrains.com/issue/WEB-30289 is fixed in 2017.3.3
Thanks @Elena. My latest is on 2017.3.1. 2017.3.3 is two releases away. It's not part of the EAP or BETA. When will the update be available? Thanks!
Not sure..It can likely be expected in early January 2018
What's the workaround for this? Should I remove all type references? I'm only trying to navigate through my code really and not the underlying libraries.
Why won't Jetbrains push hotfixes as an EAP?
Some fixes are included in nearest updates, others are postponed - this depends on fix complexity, safety and required changes