How to focus view(Navigator or Explorer) by keyboard in Eclipse

9

1

I'm in edit space of Eclipse (in some java class)

So, how to focus(to switch) view(Navigator or Explorer) by keyboard?

sergionni

Posted 2010-02-26T13:01:26.880

Reputation: 645

Answers

11

You can use <Ctrl><F7>,<Ctrl><Shift><F7> to cycle through the different views.

mrucci

Posted 2010-02-26T13:01:26.880

Reputation: 8 398

5

Via the menus: Window > Preferences, then General -> Keys
(or just Ctrl-Shift-L twice)

Then you can search in the type filter text field for "view: navigator" or target id: navigator

If there's not a key binding already, you can add one in the Binding: text field below.

njd

Posted 2010-02-26T13:01:26.880

Reputation: 9 743

thanks for help,didn't set binding in Eclipse before,really useful – sergionni – 2010-02-26T16:16:44.540

1

To navigate to the Java Package Explorer specifically use the key binding Alt+Shift+Q P.

The key bindings to focus certain views in Eclipse all follow the pattern Alt+Shift+Q <Letter> though not all views have a key binding of their own.

As an alternative there is the Show In menu. The key binding Alt+ShiftW opens a popup menu that lists all views in which the current selection/editor can be shown in. Navigation views like Package Explorer and Project Explorer are always among the choices.

Rüdiger Herrmann

Posted 2010-02-26T13:01:26.880

Reputation: 111