[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.technology.dltk] unable to find method declarations
|
Search for references is working in my language editor plugin.
Neither searching for declarations (from the search dialog) nor open
declaration (from the context menu after selecting a reference in another
file) is working for me now.
Obviously, there are two possible causes of this:
a) the module that contains the method I want is not being searched
b) it is being searched but it isn't matched
I'm pretty sure that the matching works, since it works to find references.
So, I'm left to believe that the module that contains the method declaration
that I am searching for isn't being searched.
It appears that the problem may be as follows:
IExtensionPoint extPoint = this.getExtensionPoint(pluginId,
extensionPointSimpleId);
pluginId "org.eclipse.dltk.ui"
extensionPointSimpleId "queryParticipants"
This returns null:
if (extPoint == null)
return new IConfigurationElement[0];
I found org.eclipse.dltk.ui.search.IQueryParticipant
but apparently nobody implements that interface.
Do I need to implement this interface to be able to find declarations?
If so, how do I do that?
FYI - Finding declarations doesn't seem to work for Python either.
Chuck