Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: leodescal on August 03, 2012, 09:58:17 am

Title: Extra Syntax support
Post by: leodescal on August 03, 2012, 09:58:17 am
Hello!
I'm developing C extension for GUI. It is small program which translate new commands added by me to GTK and provides final C program. This is to give syntactic sugar GUI support in C. To make GUI programming easy to learn and use.

Problem is something else... Creating an IDE for it from scratch would be 10 times the original work and would be very stupid if done only for sake of support syntax coloring some new keywords.

I want at least one IDE to support syntax coloring for my new keywords. How can I do this in Code::Blocks?
Title: Re: Extra Syntax support
Post by: MortenMacFly on August 03, 2012, 11:54:56 am
How can I do this in Code::Blocks?
Settings -> Editor -> "Syntax highlighting" -> Select syntax highlighting for your preferred language (i.e. "C/C++") -> Hit "Keywords.." button -> select additional set, e.g. "3" -> add keywords as desired.
Title: Re: Extra Syntax support
Post by: Alpha on August 04, 2012, 06:29:45 am
http://forums.codeblocks.org/index.php/topic,16577.msg112669.html#msg112669 (http://forums.codeblocks.org/index.php/topic,16577.msg112669.html#msg112669)