I whant to make my format for code. But netbeans not allow to do it. I've change all settings in Tools->Options->Editor->Formatting, But not got needed result.
When i click format I'm goting this:
But i whant to get this:
Pay attantion to position of the ")". If it needed to make changes in pluging source code I can do. But i do not know where to look for this`
2 Answers
Answers 1
Download below plugin and use formatter
http://plugins.netbeans.org/plugin/38688/jindent-source-code-formatter-for-java-c-c
Answers 2
Use Alt
+ Shift
+ F
to format your code in Netbeans.
This command will format the entire file, however, if you just want to format a specific block of code, then select those lines and then use this command.
0 comments:
Post a Comment