Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Syntax Coloring
Syntax Coloring [message #193205] Wed, 13 June 2007 06:04 Go to next message
Eclipse UserFriend
Originally posted by: bernhard.geissbuehler.selectron.ch

Hello

How can i customize the syntax coloring of the C/C++ Editor.
I wanna add some new keywords like DWORD, WORD, etc., which should be
colorized.

Thanks for help
Bernhard
Re: Syntax Coloring [message #193282 is a reply to message #193205] Thu, 14 June 2007 04:27 Go to previous messageGo to next message
Eclipse UserFriend
Bernhard Geissbuehler wrote:
> Hello
>
> How can i customize the syntax coloring of the C/C++ Editor.
> I wanna add some new keywords like DWORD, WORD, etc., which should be
> colorized.
>
> Thanks for help
> Bernhard
>

There is no such feature to add custom keywords.
In CDT 4.0 you get semantic highlighting, where typedefs, etc.
can be colorized.

--
Anton Leherbauer
Wind River CDT Team, Austria
Re: Syntax Coloring [message #193418 is a reply to message #193282] Fri, 15 June 2007 17:57 Go to previous message
Eclipse UserFriend
Anton Leherbauer wrote:
> There is no such feature to add custom keywords.
> In CDT 4.0 you get semantic highlighting, where typedefs, etc.
> can be colorized.
>

You can write your own parser to do this, like we did for Unified
Parallel C. There is no easy UI where you can just add keywords to a
list though, which is what I think the original poster was looking for.

===========================

Chris Recoskie
Team Lead, IBM CDT Team
IBM Toronto
http://www.eclipse.org/cdt
Previous Topic:Can I do this with eclipse? (remote compilation)
Next Topic:Deployment of Sourcecode to different machines
Goto Forum:
  


Current Time: Sat May 31 01:32:45 EDT 2025

Powered by FUDForum. Page generated in 0.10082 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top