Hi. uVision v5.12.0.0 How can I change color and font style for the doxygen tags (e.g: @param | \param) in C editor mode. By default they render like some garish brownish stain that really stands out and I prefer my regular old soft light grey-blue mellowness.
Thanks /Jimmy
Hello,
Keil uses the 3rd party scintilla editor as a base for their IDE. Since Scintilla can catch be used to edit other things besides C code, the editor may catch things beyond what can be configured in the Keil Edit-> Configuration dialog.
To change this, find this file:
[Keil Install directory] \UV4\global.prop.def
And open in in notepad.
Scintilla has defined 'garish brownish stain ' as #804020.
You can find this entry on (for me ) line 366 of this file.
style.cpp.18=fore:#804020,$(font.code.comment.doc)
I changed it to #0080FF, saved the file, restarted Keil, and get a nice 'non-garish non-stainish' color. I am no interior designer, but I think of it as a 'happy blue'.
Thank you most excellent sir. A Happy Blue it is, and thank you for establishing the definition of garish brown :) My keen editor decorating senses went with the #COCOFF in the end. I like the comments to fade away into the background when I'm not looking at them.
I see that the style.cpp section has quite a lot of possibilities. Do you perchance know if there is a documentation somewhere describing what C++ syntax and context elements each one is parsed out to?
Thanks again /jimmy