I am running STS (Kepler/3.5.1.RELEASE) and experiencing an annoying issue in which Java editors will highlight occurrences of a variable/method/etc. only after a ten-second delay.
This behavior seems to happen regardless of the following:
A similarly sized Eclipse Juno installation on the same machine marks the occurrences almost instantaneously. Other editor types (e.g. Python) seem to highlight much more quickly, as I'd expect.
Has anyone else seen this behavior?
I've just encountered this issue and I have the latest (as of now) version of Spring Tool Suite (Version: 3.6.3.SR1). The solution was inspired by the comment of Kris, but instead of using a brand new workspace, you first can do a "clean up".
Start STS (or any other Eclipse based IDE) with the -clean
argument (which is equivalent to setting osgi.clean to "true") in the command line. The result is (quote):
any cached data used by the OSGi framework and Eclipse runtime will be wiped clean. This will clean the caches used to store bundle dependency resolution and Eclipse extension registry data. Using this option will force Eclipse to reinitialize these caches.
Example for Windows:
C:\sts-3.6.0.RELEASE\sts.exe -clean
Example for OSX:
/Applications/STS.app/Contents/MacOS/STS -clean
It worked flawlessly!
If the above solution didn't help, here are the main alternatives:
More detailed instructions can be found here: Keeping Eclipse running clean
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