views:

172

answers:

3

when i click Ctrl+Shift+R i get dialog that allows me to find resource, however it shows resource not compiled and compiled. Is there any way to make it show just not compiled resource? or hide compiled?

A: 

Hello,

If you want to only search for Java classes, then I suggest to use Ctrl-Shift-T.

For others kinds of resources, I am not sure if you can filter the result of this popup... See answer from VonC

romaintaz
If Ctrl-Shift-T suddenly stop working you can clear the Open Type indexes by going to <Workspace>/.metadata/.plugins/org.eclipse.jdt.core and deleting all files there. The indexes will be re-built the next time you use open type.
Claes Mogren
+4  A: 
VonC
A: 

As an additional note on VonC's solution, this works as long as the classes are contained within a different directory-tree to the source files - for example many projects build the classes files into a target directory which mirrors the directory structure of the src tree.

In most situations, Eclipse will have set the derived flag on this target directory (right click on target and view properties) - although some Eclipse plugins (Maven/SVN) seem to sometimes get this derived flag wrong (not sure which is the culprit).