Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Patch to create ICoreModel interface

After fielding questions from a couple of people about Ada support in the 
CDT. I've started to give this a bit more thought.

I guess the ideal situation is to minimize the amount of code necessary 
when adding support for a new language to the CDT. I've seen this strategy 
used by a number of companies now in a number of places (unfortunately 
none of them on eclipse.org). I would think that having a whole new UI 
(perspective, editor, etc) for each language is too heavy weight, 
especially when you consider mixed language projects.

My current thought is to build on the mechanisms we have in place for file 
types and add a language description interface that would be implemented 
for a language (and probably a language UI interface for customizing 
certain UI elements like icons). We already have a number of places where 
we check whether we are C or C++ to customize behavior in the CDT. The 
idea would be to make it extensible so that we can look up in a generic 
way to do the same tricks.

This may be a pipe dream but I've always been interested in Ada and have 
started experimenting with these ideas, Maybe this will also help 
kickstart those who are interested in Ada (which includes AdaCore - the 
GNAT people https://bugs.eclipse.org/bugs/show_bug.cgi?id=91800) to help 
contribute to this. I will also need help understanding what the Fortran 
folk would need, including the Photran guys.

Doug Schaefer
Ottawa Lab, IBM Rational Software Division



Craig Rasmussen <crasmussen@xxxxxxxx> 
Sent by: cdt-dev-bounces@xxxxxxxxxxx
04/15/2005 11:22 AM
Please respond to
"CDT General developers list."


To
"CDT General developers list." <cdt-dev@xxxxxxxxxxx>
cc
Nathan C ERDC-ITL-MS Contractor Prewitt 
<Nathan.C.Prewitt@xxxxxxxxxxxxxxxxxxx>, Greg Watson <gwatson@xxxxxxxx>, 
Alain Magloire <alain@xxxxxxx>
Subject
Re: [cdt-dev] Patch to create ICoreModel interface







On Apr 12, 2005, at 6:05 PM, Alain Magloire wrote:

> I am assuming that FDT, will have a perspective, a fortran editor
> and some other extra views.

Yes.

> For post cdt-3.0, maybe the goal should be to find the common core 
> denominators
> and refactor them out.  For the UI, it will be more tricky and we 
> should be
> ready to accept a lot clone/duplication for the first iterations.
>

I'm experimenting with this now.  When I have something I think is 
useful, I'll get
back to everyone.  I think I've learned enough to make progress.

Cheers,
Craig

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




Back to the top