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:

enter image description here

how can change code formating had before in netbeans 7.4 , on image there:

enter image description here

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.

enter image description here


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo