Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
409 views
in Technique[技术] by (71.8m points)

Spring Tools Suite 4 stops working autocomplete after a while

When I'm using STS (Spring Tools Suite) 4, the autocomplete stops working for no apparent reason, and the only solution I find is to stop all my work, close the STS and reopen again. But this interruption is extremely annoying.

I couldn't find the cause of the problem. It happens randomly sometime after I start working. The autocomplete screen stuck like the image above showing that "1 pending" and it never finishes.

AutoComplete freezes with this "1 pending"

Version: 4.8.1.RELEASE
Build Id: 202010230733

question from:https://stackoverflow.com/questions/65849101/spring-tools-suite-4-stops-working-autocomplete-after-a-while

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

This sounds related to https://github.com/spring-projects/sts4/issues/579, so please follow up on the GitHub issue with more details. Especially a thread dump of the IDE process as well as the language server process would be extremely helpful in debugging the fixing the issue.

As a workaround, you could go to the Preferences -> Java -> Editor -> Content-Assist -> Advanced and disable the Language Server Proposals. That will most likely help to avoid the problem (but also disables some of the Spring Boot related additional content-assist features for the moment) until we fixed the underlying issue.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...