Community
Participate
Working Groups
Using I20100309-0809. The following snippet: class Example { // unformatted comment ! // formatted comment ! } When deselecting the preference "Format line comments on first column", I get the following unexpected output: class Example { // unformatted comment ! // formatted comment ! } Instead, I would expect: class Example { // unformatted comment ! // formatted comment ! }
The following snippet with the same option: class Example { // unformatted comment ! // formatted comment ! } is well formatted: class Example { // unformatted comment ! // formatted comment ! } Note the empty line between the comments...
Created attachment 162152 [details] Proposed patch With this patch the formatter now considers that two consecutive comments are not contiguous when one of them is on first column and the preference to format this kind of comment is deactivated.
Released for 3.6M7 in HEAD stream.
Verified for 3.6M7 using build I20100424-2000