wangdi0827
首先
在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(小键盘的/号)     【Collapse All】
    Ctrl+Shift+Numpad_Multiply(小键盘的*号)   【Expand All】
笔记本没小键盘,于是改成:
    Ctrl+Shift+-
    Ctrl+Shift+=

分类:

技术点:

相关文章:

  • 2021-04-17
  • 2021-12-19
  • 2021-11-17
  • 2021-06-27
  • 2021-09-05
  • 2021-08-13
  • 2021-11-20
  • 2021-09-14
猜你喜欢
  • 2021-06-11
  • 2022-01-15
  • 2021-08-30
  • 2021-11-30
  • 2021-05-11
  • 2022-01-17
相关资源
相似解决方案