How to Turn on Code Suggestion in Eclipse or Spring Tool Suite?
Procedure: It is as depicted below via visual aids for better understanding depicted as follows:
Step 1: Open your Eclipse or Spring Tool Suite, then go to the Window > Preferences as shown in the below image.
Step 2: In the next screen go to the Java > Editor > Content Assist > Auto activation triggers for Java as shown in the below image.
--> Content Assist
--> Auto activation triggers for Java
Step 3: In the Auto activation triggers for Java paste the following value and you are done.
So How Does it Work?
It’s going to trigger the suggestion for us when any of the keys will be pressed. Now click on the ‘Apply’ and Close‘ button as shown in the above image. Now if you are going to write some code it is going to display you the relevant suggestion as shown in the below image.
Share your thoughts in the comments
Please Login to comment...