Community
Participate
Working Groups
In JDT after renaming a class if you try to go back (i.e. press Alt+Left) and the previous cursor position is in the same file Eclipse will attempt to open the file under the old name and show a blank view with message "File {OLD_FILE_NAME} does not exist.", where {OLD_FILE_NAME} is the old name of the file that was renamed. NOTE: the file name is renamed simultaneously with the class name which is good. Steps to reproduce: 1. Create a class, e.g. Aaaa. 2. Type in some (compilable) code. 3. Make sure that Alt+Left sends you to a line within class Aaaa, not some other file. Type more until this condition is satisfied. 4. Return to the latest position using Alt+Right. 5. Save it. 6. Rename the class, e.g. to Bbbb, by putting the cursor at the class declaration and pressing Alt+Shift+R. 7. Press Alt+Left. Expected: Regular "Back" functionality within the file Bbbb.java. After all it's the same file/class just renamed. Actual: Attempts to go back into file Aaaa.java which does not exist. Possible solution: Sync the "Back/Forward" history with refactorings that include renaming, moving, deleting files.
Moving to JDT UI
See also bug 103730. Even simple deletions aren't handled.
*** Bug 175643 has been marked as a duplicate of this bug. ***
*** Bug 264504 has been marked as a duplicate of this bug. ***
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.