AnsweredAssumed Answered

CodeWarrior for S12(X) V5.9 - Syntax coloring for string literals

Question asked by Marc Friesen on Feb 8, 2010
Latest reply on Feb 12, 2010 by Marc Friesen

I am having trouble with syntax coloring in the CodeWarrior IDE. I have specified a custom color for "Strings" in the IDE preferences, but string literals simply do not show up in that color. For example, with the following line of code:

 

const char str[] = "some string";

 

"const char" and "str" will be properly colored as keywords and constants, but the string literal "some string" will be displayed with the default foreground text color. 

 

Am I doing something wrong, or is this a known bug in the IDE? 

 

I am using version 5.9 of the CodeWarrior IDE, targeting a Freescale S12(X) controller.

Outcomes