Eclipse

1.press Ctrl+Space to activate content assist

2.press Ctrl+1 to show  a selection dialog with possible corrections

3.启用折叠功能:Ctrl+/

   代码折叠的快捷键:Ctrl+Shift+Numpad_Divede(小键盘的/号)    Ctrl+Shift+Numpad_Multiply(小键盘的*号)

4.查找下一个/往回找 Ctrl+K / Ctrl+Shift+K

5.快速查找类:Ctrl+Shift+T 打开Open Type窗体

6.切换为大写:Ctrl+Shift+x  切换为小写:Ctrl+Shift+y

7.Code Formatter Preferences

Java > Code Style > Formatter preference page中的配置信息会写到workspace下的org.eclipse.jdt.core.prefs 文件中,而不会写到原来导入的user-defined profiles XML文件中。

原文地址:https://www.cnblogs.com/niaomingjian/p/4842096.html