Java快捷键

折叠代码:

首先  
在eclipse 中开启设置代码折叠功能
1. windows->perferences->General->Editors->Structured Text Editors
可以看到Enable folding选项,打上勾就可以使用代码折叠功能,但还要在具体的语言中设置。
2、windows->perferences->Java->Editors->Folding
可以看到Enable folding选项,打上勾就可以使用代码折叠功能
完成以上两步就OK了。
其次 
1 windows->perferences->general->key
代码折叠的快捷键,默认是:
    Ctrl+Shift+Numpad_Divede(小键盘的/号)
    Ctrl+Shift+Numpad_Multiply(小键盘的*号)


https://blog.csdn.net/chengly0129/article/details/49248881
如有疑问请联系我,写的不对的地方请联系我进行更改,感谢~ QQ:1968380831
原文地址:https://www.cnblogs.com/1zhangwenjing/p/9376010.html