java - How do I change method code formating in NetBeans -
i installed new netbeans 8.1, , when want format code alt+shift+f code placed in method looks ugly, there:
how can change code formating had before in netbeans 7.4 , on image there:
you can format multiple files/folders @ time! in projects
window/sidebar, if select 1 or more folders or files , press alt
+shift
+f
.
netbeans asks "recursively format selected files , folders?"
and pressing ok recursively format selected files/folders.
on mac os x, shortcut ctrl
+shift
+f
. (note: it's ctrl
, not ⌘
)
edit :-
open tools -> options -> keymap, action called "re-indent current line or selection" , set whatever shortcut want. work.