Skip to content

semantic highlighting colors are wrong after switching to the new LSP-based editor #565

@vkrevs

Description

@vkrevs

Eclipse IDE for C/C++ Developers (includes Incubating components) on openSUSE 15.6 with KDE/X11.

Version: 2025-09 (4.37.0)
Build id: 20250905-1456

Long-time Eclipse CDT user here. I've set up custom semantic highlighting colors via Preferences->C/C++-->Editor->Synax Coloring as in the screenshot below.

Image

I believe this is done via the following in org.eclipse.cdt.ui.prefs file:

semanticHighlighting.externalSDK.color=138,226,52
semanticHighlighting.function.color=13,209,64
semanticHighlighting.functionDeclaration.color=78,154,6
semanticHighlighting.globalVariable.bold=true
semanticHighlighting.globalVariable.color=136,138,133
semanticHighlighting.globalVariable.enabled=true
semanticHighlighting.macroSubstitution.color=13,209,64
semanticHighlighting.macroSubstitution.enabled=true
semanticHighlighting.macroSubstitution.italic=true
semanticHighlighting.method.bold=true

Tried switching to the new LSP-based editor.

Expected results:
Semantic highlighting colors/keyword boldness/etc are the same as before. Preferences->C/C++-->Editor (LSP) has a "Synax Coloring" node for further customization if necessary.

Actual results:
Semantic highlighting colors/keyword boldness/etc are all reset to some defaults. Preferences->C/C++-->Editor (LSP) has no "Synax Coloring" node for further customization.

Switching back to non-LSP editor restores my custom color highlighting, etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions