How do I autoindent in Netbeans?

Open Tools -> Options -> Keymap, then look for the action called “Re-indent current line or selection” and set whatever shortcut you want.

Leave a Comment