Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Cross-language navigation

I'd love to see something like this for JDT/CDT to navigate back and forth to native methods. This is probably similar to what you are hoping for.
 
I don't think there's anything there now. This may require a new extension point, similar to the content assist provider. I don't think anyone is working on that, though.
 
Doug.
On Mon, Jul 6, 2009 at 12:22 PM, Nicolas Musset <musset@xxxxxxxxxxx> wrote:
Hello.

I started working on a cross-language navigation between C and Ada. I use the plugin GNATbench by Adacore.

On one hand Ada to C navigation works fine because my Ada project knows about CDT (a CDT project is associated with the Ada project), and I can use PDOMManager and IIndex to find the corresponding binding with its name.
On the other hand, CDT does not know about my Ada Project. So if I Ctrl-click on a function defined as "extern", nothing happens. I don't know how to tell Eclipse to go to the corresponding Ada source file.

Do you have any idea to do so? Is there some extension points that I can use? Since Ada is not a C-like language, it may be not possible!

Thanks,

--
Nicolas Musset
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top