1) 快捷键是 ctrl+shift+f
2) 设置:在Editor Settings - Java Editor中有一项为"Indentation Engine",点击按钮后设置如下:
Expand Tabs to Spaces : 不选
Add Leading Start in Comment : 选中
Add NewLine Before Brace : 选中
Add Space Before Parenthesis : 选中
Number of Spaces per Tab : 4
博客介绍了NetBeans中Java编辑器的设置和快捷键。快捷键为ctrl + shift + f,设置方面,在Editor Settings - Java Editor的“Indentation Engine”中,Expand Tabs to Spaces不选,Add Leading Start in Comment等多项选中,Number of Spaces per Tab设为4。
1) 快捷键是 ctrl+shift+f
2) 设置:在Editor Settings - Java Editor中有一项为"Indentation Engine",点击按钮后设置如下:
Expand Tabs to Spaces : 不选
Add Leading Start in Comment : 选中
Add NewLine Before Brace : 选中
Add Space Before Parenthesis : 选中
Number of Spaces per Tab : 4
7361

被折叠的 条评论
为什么被折叠?