When I search for classes I can only find by fully qualified class name. How does eclipse find classes when I do Ctrl-Shift-O? This is for a eclipse plugin.
When I search for classes I can only find by fully qualified class name.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Note that Eclipse builds an index for all classes in projects (source folders and libraries), and the searches are against this index. The regular Java classloader does not have this kind of functionality (it only does lookup by full name).
Since you are doing this for an Eclipse plugin, have a look at the source for the search function in the Java tooling. There should be an API you can reuse.