Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] addMacro seems to have no effect

Thank you! Works very well.

Patrick

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Schorn, Markus
Sent: Friday, April 01, 2011 3:17 AM
To: CDT General developers list.
Subject: Re: [cdt-dev] addMacro seems to have no effect

Off the top of my head:
1) You contribute a language using 'org.eclipse.cdt.core.language' extension point.
2) Then on workspace-, project- or folder-level you can customize the mapping from content-type to language. 
I think it is also possible to assign a specific language to a single file.
Markus.

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Chuong, Patrick
Sent: Donnerstag, 31. März 2011 22:55
To: cdt-dev@xxxxxxxxxxx
Subject: Re: [cdt-dev] addMacro seems to have no effect
Importance: Low

Hi,

I need to do similar thing for our debugger. Is it possible to contribute additional keywords to the existing set of keywords? In our debugger, we have keyword "cregister". It compiles correctly using our compiler, but the editor shows an error.

If I contribute a new language to the same editor content type, doesn't it means that one of the language that is associated with the same editor content can only be use and there is no guarantee which one was selected by the LanguageManager?

Thanks,
Patrick

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Maximilian Odendahl
Sent: Wednesday, March 16, 2011 10:03 AM
To: CDT General developers list.
Subject: Re: [cdt-dev] addMacro seems to have no effect

Hi,

> SyntaxHighlighting works using getKeywords, and I can see that 
> getScannerExtensionConfiguration is also called using a debugger, so I 
> think the basic "setup" should be correct.

and now it did suddenly started to work, no idea why it did not work yesterday.

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


Back to the top