Registered Member
|
I have the following problem: all functions are highlighted in purple even if I change it in the settings. With the same code in Kate, they are white (everything else is the same) but stay purple in KDevelop.
Can I change it? |
Registered Member
|
In supported languages, KDevelop highlights elements based on the syntax - functions, classes and methods have a specific colour, each variable is coloured differently.
The actual colours used aren't configurable, but are calculated from the standard editor colours. You can set the intensity with the sliders in Configure -> Language Support -> Semantic Code Highlighting. Setting both sliders to zero will completely disable semantic highlighting and use the basic Kate colours. |
Registered Member
|
|
Registered Member
|
Why do you want to disable this functionality? It's generally considered one of the most useful features.
If the text colours are unclear or unreadable against the background, there's a bug in the colour calculation. (If you just strongly dislike the colour purple...that's not really a bug.) |
Registered Member
|
Old thread but I ran into the same issue.
Kate color schemas are largely informed by aesthetics. If "disliking" purple is "not really a bug", then it sounds like supporting color schemas at all is not really within the scope of KDevelop. Except it *is*, because color schemes for syntax highlighting are an organizational tool. The relationships of colors are themselves semantic: they map to relationships of token kinds. The whole point is to use color to make code overall easier to read, and that goes farther than just ensuring sufficient lux contrast. Let's not mistake ergonomics for aesthetic whimsy. |
Global Moderator
|
This topic has been around for decades, so far nobody was sufficiently annoyed by it to do anything about it
One of the challenges is that there's a lot of colors to configure. Another is how to organize that in the settings dialog. Still, certainly a problem that can be solved, so patches welcome
I'm working on the KDevelop IDE.
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]