问题
I like having multiple editor windows in eclipse, and use Open Resource (Ctrl-Shift-R) a lot.
Unfortunately, I always expect (and want) the resource to be opened in the current editor window (the one with focus). However, if I currently have that resource open (as a tab) in another editor, that tab will fill that editor, rather than opening in the current editor.
This is incredibly frustrating behaviour as the file in the editor being replaced is often the very file that I want to reference while opening the new one. How do I stop it, and make Eclipse behave sanely?
来源:https://stackoverflow.com/questions/9763252/how-to-make-eclipse-open-resource-in-the-current-editor-window