History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-22986
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Maxim Shafirov
Reporter: Marc Strapetz
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Indentation of line comments is changed by Code|Generate

Created: 25 Oct 07 15:59   Updated: 02 Nov 07 21:25
Component/s: Code Formatting and Code Style
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Java Source File FormatTest.java (0.3 kb)
2. Java Source File FormatTest2.java (0.2 kb)


Build: 7,364
Severity: High


 Description  « Hide
For the attached Java file, when positioning the cursor at the line start of line 6 (before the comment) or of line 7 (at the comment) and using Code|Generate and here e.g. "Constructor" or "Getter" or anything else, the corresponding code is inserted, but the indentation of the line comment is lost. This should not happen and used to work without problems for 6.0.x.

Especially with the Rearranger plugin this bug is annoying, because the plugin does not recognize this Separator Comment anymore.



 All   Comments   Work Log   Change History      Sort Order:
Marc Strapetz - 25 Oct 07 16:06
Sorry, FormatTest.java was already the result of the wrong formatting. The problem is producible with FormatTest2.java