java - Print list of all Eclipse quick fix suggestions for the active project -
i want write piece of java code call eclipse quick fix , print suggestions in console.
as example, if have reference undefined variable, compiler error cannot resolved variable. in case, eclipse suggestes fixes such create local variable, create field, or create parameter. in project want print 3 suggestions output.
i saw page, not useful.
please let me know best way task.
the solution extend org.eclipse.jdt.ui.quickfixprocessors plug-in, , extends ijavacompletionproposal interface.
this web page describes details need. in germany, sure can use google translator have english. hope, helps.
Comments
Post a Comment