Community
Participate
Working Groups
I selected a properties file and hit the Search toolbar button Clicked Search on the NLS tab Indicated that there was 3 unused keys Opened a Java editor on the source file that does use the keys. Added and removed a space. Saved. Performed the search again..no indication of unused keys. This appears to be a larger problem than just Search (is there still a all types index?) as the Open Type dialog is not displaying some types until I make the file dirty and perform a save as well.
This is on build I20030218 using JDK1.4.1 VM
Darin, does the normal Java Search work? NLS Search is based on Java Search. Is the scope correct? Is the Messages.java file the one that handles the properties file?
Test I just tried: Searched for type declarations of ManageWatch* in the whole workspace. Nothing found Opened a Java editor on ManageWatchpointActionDelegate Repeated the search One Declaration found.
Darin, anything in the .log? Does this happen directly after startup or for every type?
Nothing in the .log The classes missing from searching seem to be all of the types from non-binary projects. It was a preexisting workspace to I20030218, I imported the binary projects (57 out of 65, the rest as source for Debug / Ant development). Everything indicated success. The source type for ManageWatchpointActionDelegate still is not showing in the Open type dialog. After restarting, source types that I have forced to recompile show in the Open Type dialog. Others are still missing. After restarting, searching is still missing all source types that I have not opened an editor on.
Darin, this looks like build path problems. Check the Task list for build path problems.
This was on my workspace at home...I will attempt to reproduce the problem here at work. But looks more like a PDE problem..
Maybe PDE messed up your build path. Something else to test at home (if the build path is OK): Shut down Eclipse, delete the JDT Core (.metadata/.plugins/org.eclipse.jdt.core) index and restart.
*** This bug has been marked as a duplicate of 32217 ***