Formatting code in NetBeans

xiaoxiao2021-03-06  51

1) Shortcut is Ctrl Shift F2) Settings: In Editor Settings - Java Editor has an "Indentation Engine", the click button is set as follows:

Expand Tabs to Spaces: Adding Add LEADINE BRACE: Check Add Space Before Preenthes: Number of Spaces Per Tab: 4

转载请注明原文地址:https://www.9cbs.com/read-82988.html

New Post(0)