Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [recommenders-dev] Getting involved

Hi,

> I have successfully reproduced the bug. I am looking into the stack
> trace, but I am not sure where should I look for in the code. I am new
> to the recommenders codebase and eclipse plugin development in general.

IMHO, you don't need an overview of the larger codebase for this. All
you need to know is what the JavaElementSelectionService is suppossed to
be doing (hint: that class has Javadoc). Then, you need to figure out
why "resolving" fails.

> What should I know before starting code contribution to recommenders?
> Please help me on how to tackle this problem. I saw your comment on the
> bug report and I understand what is the target of this bug fix. Please
> let me know how the codebase is structured. Also please point me towards
> any resources where I can get the prerequisite information for code
> recommenders.

To do so, I would suggest setting a breakpoint in
JavaElementSelectionService.handleSelectionFromViewer and step through
the code from there to get an idea of what it does.

Just set the breakpoint and launch Eclipse + Code Recommenders in debug
mode. You can find the necessary product file for this in the project
org.eclipse.recommenders, folder "tools". In your workspace. Just click
"Launch as an Eclipse Application in Debug Mode"

Hope that helps.

Andreas

-- 
Codetrails UG (haftungsbeschränkt)
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940


Back to the top