When entering eclipse Java source code, auto activation triggers

Automatic trigger completion of eclipse

One of the advantages of using eclipse is the auto-completion trigger function when inputting Java source code. However, it works after entering "." In normal operation, but is there a setting method when you want to make more use of it? 01.PNG

Setup steps

eclipse> Window (W)> Settings (P) 02.PNG

Set from Java> Editor> Content Assist> Auto Enable 03.PNG

--Automatic activation delay (milliseconds): 0

Default value: 0 ⇒ changed to the following


80

--Java auto-activation trigger :.

Default value: ⇒ Change to the following


.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_

--Javadoc auto-activation trigger: @ #

Default value:@#⇒ You can leave it as it is


@#

After clicking "Apply and Close", let's enter the Java source code. 04.PNG

reference

https://www.christianschenk.org/blog/eclipse-java-content-assist-auto-activation-triggers/

Recommended Posts

When entering eclipse Java source code, auto activation triggers
Technology for reading Java source code in Eclipse
When reading the source code
Java source code reading java.lang.Math class
Basic structure of Java source code
[JAWS-UG CLI] CodeBuild: # 1 Creating Source Code (Java)
[Java] Flow from source code to execution
[Java] Eclipse shortcuts that make sense when you go back and forth between source code in a project