Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Problem defining own language/ content type

Hi Andew,

indeed - I based on the GCC managed build configuration, but missed to add the new language. Now it appears correctly and after that also the language settings provider seems to behave as expected.

Many thanks!

Sebastian

Gesendet: Freitag, 29. Juni 2012 um 14:57 Uhr
Von: "Andrew Gvozdev" <angvoz.dev@xxxxxxxxx>
An: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Betreff: Re: [cdt-dev] Problem defining own language/ content type
Hi Sebastian,
As far as I remember the language comes from input type in the toolchain definition. Looking at your plugin.xml, you defined content type for your input type but language ID does not seem to be defined.

Thanks,
Andrew

On Fri, Jun 29, 2012 at 7:30 AM, Sebastian Wagner <se.wagner@xxxxxx> wrote:
Hello,

I developed an eclipse cdt plugin for a specific compiler. I recognized a behavior which seems wrong to me in the project properties window -> C/C++ General -> Path and Symbols menu. In the column "Language" it shows me the GNU C language and instead of "Assembly Language" it shows "IAR Assembler Source", which is the name of my own assembler source file content type.
My assembler files have a lower case ".s" file extension and that's why it doesn't seem to be recognized correclty by the makefile builder. To make the assembler files appear in the makefile I defined an own content type I am referring to at the assembler inputs section. As soon as I add this content type I can see the described behavior, but the assembler files appear in the makefile correctly.

1) Do you have any idea what I did wrong or how to find that out?

2) I defined an own language to be able to configure the scanner/ parser. It is called "IAR C". Why doesn't it appear instead of "GNU C"

Find attached a screenshot of the properties dialog and my plugin.xml file.

Thanks for your support!


best regards

Sebastian Wagner
  

Ihr WEB.DE Postfach immer dabei: die kostenlose WEB.DE Mail App für iPhone und Android.   
https://produkte.web.de/freemail_mobile_startseite/

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




  

Ihr WEB.DE Postfach immer dabei: die kostenlose WEB.DE Mail App für iPhone und Android.   
https://produkte.web.de/freemail_mobile_startseite/

Back to the top