Created attachment 159138 [details] Examples of Observed vs Expected, captured using the Catppuccin Mocha theme SUMMARY The syntax highlight colors are inconsistent when compared to Kate while using a non-default editor color-scheme STEPS TO REPRODUCE 1. Set Editor Colorscheme to something non default (ex: Catppuccin Mocha) 2. Open a C++ or Qml file in Kate & KDevelop 3. Compare results OBSERVED RESULT They are different (See attachments) EXPECTED RESULT They should match (See attachments) SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.106.0 Qt Version: 5.15.9 ADDITIONAL INFORMATION While this was tested using Catppuccin Mocha, these can be seen on any other theme aswell
KDevelop supports semantic colors. Identifiers are highlighted based on their role in the file's language. For example, base class's member functions are highlighted differently from the current class's member functions. Different colors in this particular case can be useful. I have found a bug in KDevelop thanks to them. Semantic colors are configurable in KDevelop settings: 1) select "From Editor Theme" in the "Global colors" combobox in the "Language Support" tab; 2) go to the Editor=>Color Themes tab, select Theme Editor tab, then the Highlighting Text Styles tab, select "KDevelop/Semantic Colors" item in the Highlight combobox, then configure the colors to your liking.