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+=

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-08-30
  • 2022-02-22
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2021-11-25
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-11
  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案