How to configure Eclipse to format all java code except Strings declaration?
Example:
Before Ctrl+I:
String sql =
"Select column " +
"from table " +
" where column1 > 0 AND column2 < 0";
After Ctrl+I:
String sql = "Select column " + "from table "
+ " where column1 > 0 AND column2 < 0";
Thank you!
edit:
Has any way to configure using Formatter preferences (Window > Preferences > Java > Code Style > Formatter)?