Closed wilkinsona closed 6 years ago
Sorry for the hassles. These are the old STS 3 tooling which haven't aged well. The stuff that is causing these problems will not be a part of STS 4 anymore. So you could try an STS 4 milestone build instead and see if it makes for a 'lighter weight' experience for you.
If you want to continue using STS 3 there's a few things we can try to disable these features.
If still not working you may also disable this in individual projects via project context menu at
Properties >> Spring >> Beans Support
. (Though I think the global switch should make this not necessary).
One more thing worth trying. The projects that make up spring boot itself are detected as 'spring boot' projects which enables some STS tooling support specifically for spring-boot apps. But this tooling is really meant to work with apps, not with the spring boot implementation itself. So it could be misbehaving.
There's a way to exclude projects from being treated as 'spring boot projects' here: Window >> Preferences >> Spring >> Boot
. You can enter a regexp in the 'Exclude Projects' box. Anyhting matching the regexp will not be treated as a 'Spring Boot project'.
You can verify whether STS thinks your project is a boot project by opening the Spring Boot Dashboard. If your project appears there it means STS 'thinks' its a boot app.
In preferences go to 'Spring >> Bean Support' and check 'Disable Auto Config Detection'
Thanks, Kris. I think this is the setting that I was missing. With that checked things are much more responsive.
Glad to hear that it works better for you now.
As the plan is to eventually phase out the old bean builders / models in STS 4, I think we will not try to fix this. So closing this ticket now.
I've got Spring Boot's source mounted in Eclipse and have noticed that background processing performed beneath
BeansJavaConfig$2.call(BeansJavaConfig.java:1)
takes several minutes to complete. While it's in progress saving source, running tests, etc are all blocked making my IDE pretty much unusable. I'm using Spring IDE 3.9.4.201804120850-RELEASE.I took four thread dumps during the minutes-long building of the workspace:
12:06:12
12:07:08
12:13:10
12:19:47
I've tried to turn this off by disabling the Spring-related Project Validators and Project Builders but it doesn't appear to have had any effect.