einpoklum
einpoklum

Reputation: 131525

Why doesn't CLion highlight Doxygen comments differently?

In CLion (2021.1), it seems all comments are syntax-highlighted the same way, even if they're Doxygen documentation comments. I couldn't find a Doxygen plugin which might help with that. How can I make CLion highlight Doxygen differently?

Upvotes: 1

Views: 663

Answers (2)

uta
uta

Reputation: 2069

Since CLion 2021.2 (EAP) the highlighting of Doxygen comments has changed and different from the previous versions. It is consistent with JB Idea now. Please, read here about it. Settings

Upvotes: 2

einpoklum
einpoklum

Reputation: 131525

Actually, CLion does highlight Doxygen differently, but in some of the Themes (e.g. IntelliJ Light), the color chosen for regular and Doxygen comments is the same.

To change that:

  1. On the menus, select File | Settings.
  2. In the settings dialog, navigate to: Editor | Color Scheme | Language Defaults.
  3. In the settings pane's tree box, navigate to: Comments | Doc Comments | Text.
  4. Change the color to something else (I go with 5C8CC0 which reminds me of Doxygen in Eclipse).

Upvotes: 1

Related Questions