Download various versions of Eclipse. Automatic completion of Eclipse code (automatic completion by removing spaces)

One: download

1.1. Official website link:

https://wiki.eclipse.org/Older_Versions_Of_Eclipse

1.2 Domestic mirror (China University of Science and Technology) [Recommended]:

http://mirrors.ustc.edu.cn/eclipse/technology/epp/downloads/release/

Two, eclipse code automatic completion setting

We open the Eclipse configuration automatic prompt and click on the window--Preferences interface

2.1 Automatic prompt for configuring java files

Click java–Editor–Content Assist and change the content in Auto activation triggers for Java to:

.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ

Change it and click Apply

2.2 Remove spaces and complete automatically

The new version of eclipse has fixed this problem, window → preference → java → editor → content assist, check the Disable insertion triggers except 'Enter'option, that is, the automatic completion function will only be triggered when the enter key is pressed.
Insert picture description here

Published 21 original articles · won 29 · views 2828

Guess you like

Origin blog.csdn.net/VariatioZbw/article/details/104819519