the steps to Reproduce is very easy.
open 2 or 3 files at the same time.
as normal, they will show as a default order.
But if I click one of the files, the clicked file will jump to the
first place on the tab list.
my question is how should I do to keep the open file tab position ?
the ideal result is every open file will forever stay on the position where it showed.
reproduce figure1
reproduce figure2
I expect the open file stay on the position where it showed first time, rather than jump to the first place when I click it.
I have a window that opens another window which has the same specifications as the original window on Window Spy except for the title. But the title for the new window changes every time it is opened (The title for the original window can change as well.). I currently use WinActivate to activate the original window but it brings up the new window. I currently use move my mouse and left click to activate the original window (if the new window is not maximized) and I'm able to proceed to the next step in the macro of clicking a button in the original window and finish my macro. But if the new window is full screen, then I'm not able to "move my mouse to click" on the original window and continue with the rest of the macro. It will hold up the macro until I manually click on the original screen and complete the next step in the macro.
I somehow messed up my perspective then I clicked reset perspective. This gives me back the package manager on the left. problems/javadoc/declarations on the bottom. Task list and outline as 2 separate windows on the right and a big empty space in the middle where the code is supposed to be. When I open up some code it ends up in the bottom window and there's that big hole where the code window used to go. I can drag and drop the code into that empty space, but when I try to drag the code window bigger to fill up the entire space it won't let me past a certain point. I'm left with a gap above the coding window that's bothering me. It seems Eclipse is leaving that space for me to drag other perspectives into, however dragging more perspectives into that empty space doesn't make it go away, it's still the same size. How do I get rid of this space?
Close eclipse if it's open
Navigate to your workspace folder
Further navigate down into .metadata then .plugins (These are hidden files, use terminal or look up how to show hidden files in your OS)
Delete the org.eclipse.e4.workbench folder
Restart Eclipse
If it still doesn't look right click Window > New Window
If it still isn't fixed please let me know in the comments (it might be time to reinstall Eclipse)
I would like to set a key short-cut. e.g. ctrl+1 or so, to go in the editor into the file and line where the 'keyboard' command stopped the current code execution in order to debug faster. Is this possible? Or does it exist already? Now, even when I click the function in the debugger tab, it doesn't go there if that function was last clicked and in the mean time you moved manually to another function in the editor. I first have to click another function in the pop down menu and than re-click to function I want to go to. Very annoying.
Once you have a bunch (20+) source windows open in Eclipse is there way to close them with clicking all the close buttons on the tabs? It takes a long time and if you double click the middle button it maximises the window instead.
I guess worst case I'll learn to write a plugin that just closes them all, but ideally I want a little list box that I can easily close them in, like the buffer list in emacs or the window list in devstudio.
Right click one of the source tabs, then click "Close all". This is in Eclipse 3.4, don't know what version it was first available in.
Beside the "Close All" functionality kbrasee mentioned you can work with a "buffer list" using Window / Navigation / Switch to Editor (or Ctrl+Shift+E). In this dialog you can select multiple editors for saving / closing.
Maybe this is a little bit unrelated to your question but you can limit the number of open files by selecting "Window > Preferences > General > Editors > Number of opened editors before closing". If you set it to 8, opening the 9th file will close the file you visited most early.
For a fast and selective solution you can click with the mouse wheel (yes!) into the middle of a tab you want to close. You don't have to target the close X.
To close all your open files in Eclipse, simply goto File -> Close all
First if you use the right click mouse on the tabs you can choose either Close All or Close Others.
Second you can press Ctrl+Shift+W to close all the opened tabs.
An addition to what mentioned by others,
If the undesired tabs are related to a project, you can right click the project name and choose close project, all its taps will be closed