This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

uVision syntax highlighting - how to change doxygen tag color

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

Parents
  • 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'.

Reply
  • 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'.

Children