Author Topic: Extra Syntax support  (Read 4450 times)

leodescal

  • Guest
Extra Syntax support
« 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?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Extra Syntax support
« Reply #1 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513