Community
Participate
Working Groups
The begin-block mark '{' of the static block isn't vertical align with the end- block mark '}'. Preferences : Java -> Code Formatter -> New Lines -------------------------------------------------- active : insert a line before an opening brace active : insert new lines in control statements inactive : Clear all blank lines inactive : insert new line between 'else-if' active : insert a new line inside an empty block - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - public class StaticProblem { static { // ... } void myFunction() { if ( true ) { // ... } } } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Created attachment 1828 [details] Proposal to correct this bug. Including some previous/next lines
Thanks for the proposal. Right now we are revisiting the whole implementation of the code formatter. So for now we don't plan to apply bug fixes in the current implementation.
*** This bug has been marked as a duplicate of 17349 ***