1

What is the difference between Ctrl + Shift + R and Ctrl + Shift + T?

Do we have a blog with all eclipse tips/shortcuts?

1
  • CTRL + SHIFT + L: Show Key Assist Commented Mar 25, 2009 at 15:12

7 Answers 7

5

Ctrl-Shift-R: Find a resource, which can include XML files, Ant scripts etc.

Ctrl-Shift-T: Find a type, regardless of the filename. (This can be handy if you're looking for a nested type, or basically if you don't want to see anything other than types...)

For Eclipse shortcuts, there are lots of Eclipse keyboard cheat sheets. From the search, I like this PDF, this shorter list, and this list with more explanations.

Sign up to request clarification or add additional context in comments.

Comments

3
  • Ctrl+shift+R is for Open Resource, it searches for all types of files in your projects.
  • Ctrl+shift+T is for Open Type, it looks for Java classes and interfaces.

A great feature of the Open Type dialog is that you can search for say DataInputStream by typing DIS.

Comments

1
  • T : open a type (Java artifact)
  • R : open any file (any resource)

Comments

1
  • Ctrl-Shift-T will find Java types including those imported in JAR files without source (e.g. Java standard API)
  • Ctrl-Shift-R will only find Java types present as source code, but will also find other kinds of source files such as Text and XML.

Comments

1

To see all key bindings look under Window -> Preferences -> General -> Keys.

Comments

0

Also, Ctrl+Shift+L will show you which keyboard shortcuts are active right then.

1 Comment

And pressing Ctrl+Shift+L again brings up the settings to modify them.
0

Blatant advertising coming up:

If you like these two search options, you would love nWire. It is an Eclipse plugin for Java developers which provides, among other things, much stronger search. You get to search as you type for methods, fields, packages... practically everything you have in Java.

As for some more tips, I have written the following article in EclipseZone. I really suggest adding EclipseZone to your RSS feeds reading list. Lots of tips and good stuff there.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.