Quick change or switch to another editor in eclipse? (not tabs)

Hi, many html editors in eclipse. each of them provides different functions. Is there a way that I can quickly switch the editor of the current open tab (except for opening with an option in the project explorer).

Let's say that abc.html is currently open. but I want to open it in another editor. Now I need to find this file in the project explorer, and then right-click> open with. option.

OR I use ctrl + shift + r to open any resource, it always opens in the default editor. But I want to choose there which editor to open with the "option". :( is there a shortcut for this?

+6
eclipse editor
source share
1 answer

I understand very well that I want to open the material simply using the keyboard.

I can think of 2 solutions:

1: CTRL + SHIFT + R (select the file as usual), then (still in the Open Resource dialog box) TAB, TAB, ENTER, and then press the down arrow key until you get the correct editor

2: turn on the Project Link switch 'Link with Editor' (the button in the upper right corner of the Project Explorer View window)

Now you can easily get from the file opened in the editor to the right place in the Project Explorer view (so you can right-click it).

Hope this helps! (I also find CTRL + F7 a useful way to jump to the Project Explorer view from the editor)

+5
source share

All Articles