Community
Participate
Working Groups
Hi All, Hope all is going well. If I have the following code object.method( param1, // text about param1 param2 // text about param2 ); and I perform a "Change Method Signature" refactoring, and add an additional parameter to the method signature, the above caller code is changed to: object.method( param1, // text about param1 param2 // text about param2, param3 ); ie. the 3rd parameter is appended to the end of the line, but the comment keeps it out of compilation space. This naturally causes compilation errors in the project after the refactoring. Ideally, it could recognize that it's a comment and append it to the next line, inserting a comma in the right place. Cheers, Marcus
Move to JDT/UI
Martin, this looks like a AST rewriting problem ?
*** This bug has been marked as a duplicate of 95839 ***