Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Eclipse what is the difference between "Open Type"/"Open Resource"?

Tags:

eclipse

Can any one please tell me the difference of "Open Type" (Ctrl + Shift + T) and "Open Resource" (Ctrl + Shift + R) in eclipse.

like image 852
Raghavan Avatar asked Jul 20 '10 03:07

Raghavan


2 Answers

"Open Type" lets you open any class, interface, or other compiled module no matter where it is located. "Open Resource" does the same thing for non-classes, etc (things like config files, images, etc).

Basically, both commands let you find different files quickly without having to search through the tree and directory structure.

like image 82
JasCav Avatar answered Sep 22 '22 14:09

JasCav


Types are language-related such as classes (and usually in the include paths), Resources are simply just files.

like image 34
yclian Avatar answered Sep 19 '22 14:09

yclian