eclipse alt+/ shortcut key invalid (usually method 3)

1. This method is used when there is no hint: open windows --preferences --java --editor --content assist on the eclipse one by one, and there is a line "select the proposal kinds contained in the 'default' content assist in the upper right. list", check the Java Prolosals checkbox, save and exit.

2. This method is used to type abbreviations without prompts (for example: type syso without prompts): open the windows above eclipse in turn --preferences --java --editor --content assist, in the lower part of the right part Find the item "Auto activation triggers for java:", followed by a text box, enter the letters abcd in the text box behind, then click appplay-->OK to save and exit, select export File - General - Export, select preferences and then Check the Export all check box (no need to manage the following), and specify the name and path of the export file (note that only files in .epf format can be exported). Then find the epf file you just exported in the path you specified, open it (you can use Notepad), find the abcd (or abc) you just entered, and add the remaining 22 English letters after it. After saving, Then use the import function of eclipse to import the file into eclipse, and then the word association prompt function can be realized.

But my Eclipse is still the same, so continue to try other methods:

3. Open windows - preferences - General - Keys on eclipse in turn, there is a search box under Scheme, enter "Content asist" in the search box (my Eclipse cannot enter in this search box, the following The button grabbed the focus, so I chose to copy and paste, pay attention to the capitalization when searching), after selecting the "Content asist" item, change the Binding item to "ALT+/" (press the "/" key to change) , select the When item as Editing Text;

4. Open windows --preferences --java --editor --content assist --advanced in turn, and select the Template Proposals item in the lower right check box.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326604764&siteId=291194637