Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [recommenders-dev] About the license issue of the incubator project

Hi Marcel,

I have checked out the example plugin project.
There are some compilation errors, because the methods getVisibleFields, getVisibleLocalVariables, and getVisibleMethods
are undefined in class InternalCompletionContext.

I am now using Eclipse 3.7, and also did a quick search in 3.7.1 (the methods are still undefined...).
Could you tell me which version of Eclipse you used to create the example plugin? 

Thanks,
Cheng

On Sun, Jun 24, 2012 at 2:57 AM, Marcel Bruch <marcel.bruch@xxxxxxxxx> wrote:
Hi Cheng,

I wrote a simple argument completion skeleton and pushed it to an Eclipselabs repository. It's not as good as Precise, i.e., you need one extra <ctrl+space>, but it does not need any JDT patches. Personally, I think this it's okay but that's something you have to decide. Below is a screenshot showing it in action.  The code is here [1]. It also contains  two examples how to get all accessible fields, locals, and methods (once using the IJavaElement APIs, the other using the compiler bindings API).

Please check out the example plugin, start it in your Eclipse runtime, and check for the proposal below. Let me know what else you may need to know.

Marcel




[1]



_______________________________________________
recommenders-dev mailing list
recommenders-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/recommenders-dev



Back to the top