Change Cmake syntax colors in Clion

2019-08-12 00:37发布

问题:

I have installed Clion and custom configured a dark theme to make staring at the screen for long hours easier on the eyes. I was able to change every color for the C++ syntax configuration, but the color options for Cmake are non-existent, and Cmakes default colors are a very dark olive that requires me to strain my eyes to read. Cmake shows up in code styles for changing tabbing, spacing, etc, but i cannot find color options anywhere in the settings menu.

Anyone in here that is a Clion user that can point me in the right direction?

Heres a screenshot of the Cmake colors, prepare to squint http://puu.sh/nxwtf/bd0625f791.png

回答1:

Yes, that functionality is missing. Please, vote for issue!



回答2:

I managed to make the file readable by changing the setting at Editor - Language Defaults - Identifiers - Default. I guess that isn't specific to CMakeLists.txt.



标签: clion