Community
Participate
Working Groups
Copied from Bug 299459 Comment 4 How about we try something more radical? If the user changes the name of the class in the editor, can we just automatically rename the file? I know that if you do this, JDT will report an error that you can fix using a Quick Fix. That means that all the code is there. Can we tap into it and just make it happen automagically? Can we do it without forking JDT code? I'm thinking that we can listen in on the same events that the problems view uses to determine what problems to display. If we find a problem that has to do with a name mismatch, we just automatically invoke whatever quick fix solves that problem.