How to solve the problem that the shortcut key ALT+/ of Eclipse is invalid?

    When using the springmvc framework recently, I don't know if I clicked the wrong setting function of eclipse when viewing the source code, or other reasons, which caused it to fail to display the prompt information of the spring framework, jstl, etc.

》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》


There are mainly the following methods:

    1. The second method is used when there is no hint: open the windows -preferences -java -editor -content assist on the eclipse in turn, and there is a line in the upper right corner "select the proposal kinds contained in the 'default' content assist" 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 (the following do not need to be managed), 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 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.
<


    
 Personal implementation of the third method is effective"""". . . .

  From: http://www.apkbus.com/android-104663-1-1.html


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325477096&siteId=291194637