Code cleanup in netbeans

前端 未结 9 1075
感动是毒
感动是毒 2020-12-04 10:55

Is there something similar to the Eclipse cleanup rules (Preferences > Java > Code Style > Clean Up) in NetBeans?

The cleanup rules in eclipse will allow you to clea

9条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-04 11:20

    The equivalent of Eclipse's "Code Cleanup" in NetBeans is "Format". It's under Source > Format, and the keyboard shortcut is Alt+Shift+F (on Windows). Unfortunately, unlike Eclipse, it doesn't seem like this can be configured in NetBeans.

提交回复
热议问题