Bug 401784

Summary: C function syntax highlightning ignoring schema color
Product: [Applications] kdevelop Reporter: Aulos Plautius <aulospl>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED INTENTIONAL    
Severity: minor CC: mail
Priority: NOR    
Version First Reported In: 5.3.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Aulos Plautius 2018-12-05 17:33:12 UTC
SUMMARY
Syntax highlighting for functions in C sources defaults to a purple color regardless of selected color schema.

STEPS TO REPRODUCE
1. On Fonts & Colors settings tab
2. Switching color schema or editing current schema to change text, function or built-in colors.

OBSERVED RESULT
Highlighting color for functions defaults to purple.

EXPECTED RESULT
Highlighting color for functions should match the ones defined in the schema.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.3.0
(available in About System)
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION
Not tested for other languages.
Syntax highlights functions with the schema's text color in Kate
Comment 1 Francis Herne 2018-12-05 17:47:20 UTC
This is expected behaviour for the semantic highlighting; it shows names in different colours depending on their type and context in addition to the basic KTextEditor highlighting.

You can disable the feature if you don't like it: go to "Settings -> Configure KDevelop -> Language Support" and set the two "colorization intensity" sliders to 0.


That the semantic highlighting colours are hardcoded and not themselves adjustable in the colour configuration is itself a missing feature, see

https://bugs.kde.org/show_bug.cgi?id=395856