I'm trying to use Spring Tool Suite 4 with Eclipse Oxygen, but the Auto Complete / Content Assist features specific to Spring Tool Suite do not seem to be present. The normal eclipse content assist appears, but nothing specific to STS will appear.
I followed some of the other helpful posts on StackOverflow, and was pointed to make sure that the Spring proposal kinds in Preferences -> Java -> Editor -> Content Assist -> Advanced are selected. However, upon doing this I discovered that there are no Spring proposal kinds in that section. I am using STS 4, but for some reason the proposal kinds do not appear in that list.
How can I fix this and get content assist / autocomplete to work for Spring Tool Suite 4?
Note: I have tried the solutions for the following StackOverflow articles, but none of them have worked for one reason or another. They all seem to assume that the proposal kinds are present where they should be. Content autocomplete in spring tool suite 4 Eclipse Spring Tools missing content assist/ autocomplete Spring tool suite can not automatically show fields variable name suggest?
Here's the list of what appears in for the proposal kinds in my IDE - note that no Spring related options appear.
While upgrading from lower version to sts-4 faced the same issue.
Found this thread and followed the instruction given by vvalencia-cl then the issue got fixed. https://github.com/spring-projects/sts4/issues/82
Solution :
Go to Preferences -> Java -> Editor -> Content Assist -> Advanced, and enabled:
and then click Apply and close
Go to Window tab
at the top -> Preferences
-> Java
-> Editor
-> Content Assist
. Now find Auto activation triggers for Java
usually at the bottom and now in its textbox paste the following value:
.@(#&$abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
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