Community
Participate
Working Groups
[using Eclipse 20011107] If I have "Show source of selected element only" selected, once I run the code formatter, the cursor is moved to the beginning of the method. This is tolerable, if the method is not too long. If I have "Show complete source" selected, once I run the code formatter, the cursor is moved to the beginning of the class. I would be happier if my current view of my class didn't scroll all the way to the top [either of the class or the method]. I think it would be better if the top line showing in the editor before the formatting is the same line [give or take the formatting of that line itself] showing at the top of the editor afterwards.
*** Bug 6578 has been marked as a duplicate of this bug. ***
7215 adresses similar problems. Makes nice workaround possible, as cursor stays at old position. Fomrat your code,move cursor with up,down keys results in moving the editor to old viewposition. ok not exactly
Pls close if already properly fixed.
*** This bug has been marked as a duplicate of 4071 ***