Reputation: 111
When I copy and paste (for example) a function, the first line is tabbed correctly, but every line after is tabbed back too much. While this is at most a minor annoyance, I'd still like to fix it. I can't seem to find a setting that controls this, but if there is one, I would like to know. Thank you for your help.
Upvotes: 1
Views: 37
Reputation: 185
Just navigate to Source > Format and click on format it automatically format the whole function.
Shortcut : Alt+Shift+f
Make sure you have done all formatting . Link for detail formatting : https://blogs.oracle.com/netbeansphp/entry/formatting_tabs_and_indents
Upvotes: 1