I'm wondering if Eclipse has any shortcut to close all tabs except the pinned one. I use the CTRL+Shift+W shortcut every day to close current tabs but it closes all the tabs no matter they were pinned or not. Do Eclipse have any settings for this shortcut to close only not pinned tabs, or does exist another shortcut to achieve such result?
Edit: I forgot mention I use Eclipse Indigo.
Press CTRL+Shift+E and you will get the Switch to Editor
view as shown below.
Now use the keys Up or Down to select the tab which you want to stay opened and press the Tab key two times so that the button Invert Selection
is focused. Then press the Enter and two times Tab key. Hit the Enter key again to close all other tabs in editor.
If you right click on your window there is an option "close others" it should work for you,
If you want a shortcut for it its simple to create one, go to >Window > Preferences > General > Keys , search for "close others" then in the Binding filed enter any shortcut key you want, and in the when dropdown; select "In Windows", then apply, OK , Finish.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With