How do I autoindent in Netbeans?

后端 未结 10 1230
挽巷
挽巷 2020-12-02 05:25

In eclipse you can click Ctrl+I at any line, and it\'ll automatically indent the line or group of lines according to the indentation scheme you chose i

10条回答
  •  既然无缘
    2020-12-02 05:51

    To format all the code in NetBeans, press Alt + Shift + F. If you want to indent lines, select the lines and press Alt + Shift + right arrow key, and to unindent, press Alt + Shift + left arrow key.

提交回复
热议问题