I encountered the following bug in the Layout Code command.

If I set the Code Style | Blank Lines | Around Method preference to 1,
the Layout Code command fails to insert a blank link before the
method in the test case below. However, if I insert a space before the
"//", so that the comment no longer starts in column 1, the command
will insert a blank line before the comment, as expected.

#609 /Jim

TEST CASE

class Test
{
        int foo;
// comment
        public int getFoo()
        {
                return foo;
        }
}

_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to