Check out example codes for "sts getting slow while pressing control key". It will help you in understanding the concepts better.
Code Example 1
In order to workaround the issue you can disable the Spring Boot Language Server for Java files via the preferences: Preferences -> Language Servers, then de-select the Spring Boot Language Server for the Java source file type. That should work as a workaround.
Learn ReactJs, React Native from akashmittal.com