Joshua Fox
Joshua Fox

Reputation: 19675

Universal keybindings in Eclipse

I want to be able to use CTRL-SHIFT-T to open a Java Type (source code file) from any perspective in Eclipse. Unfortunately, the keybinding only works in the Java perspective.

I tried defining the keybindings using context "In Windows" and "In Dialogs and Windows." That did not do the trick.

Any ideas how to do this?

(For documentation, note e.g. this page.)

Image Hosted by ImageShack.us http://img18.imageshack.us/img18/7205/keybindingsna4.png
Shot at 2009-02-18

Upvotes: 3

Views: 520

Answers (2)

VonC
VonC

Reputation: 1325377

You need to activate the command 'Java Navigate' in the perspective from which you want to access the "Open Type" dialog.

alt text

You will access this dialog through a right click "Customize Perspective" near the toolbbar buttons.

As mentioned in lud0h's answer, "you have to do this in all perspectives you normally use to get this functionality across all of them"

Until... eclipse3.5M4 late this January 200099

Java Action sets in all perspectives:

If you are editing a Java file, you can access your favourite actions (Open Type etc) in a non-java perspective as well (CVS, Resource)

Upvotes: 1

lud0h
lud0h

Reputation: 2390

In Eclipse go to:

  1. Window -> Customize Perspective...
  2. Click on "Commands" tab
  3. Select the check box for "Java Navigation"
  4. Click "ok"

Now you can use Ctrl + Shift + T in this perspective.

Unfortunately you have to do this in all perspectives you normally use to get this functionality across all of them.

Upvotes: 2

Related Questions