eclipse-cdt / cdt-lsp

Eclipse CDT™ LSP Extensions for CDT
Eclipse Public License 2.0
26 stars 11 forks source link

Themes do not apply to the LSP Editor #325

Closed alexkaratarakis closed 4 months ago

alexkaratarakis commented 4 months ago

While the default editor can change colors via themes (builtin themes, themes via the eclipse-color-themes plugin or theme-specific plugins like MoonRise), the LSP editor remains unaffected and is always using he Dark (I think) theme.

Is this expected? I tried with a freshly downloaded instance of Eclipse, and the result is the same.

ghentschke commented 4 months ago

The new LSP based C/C++ Editor uses TextMate themes. When switching to a different Eclipse Theme via: Window->Prefrerences->Appearance->Theme. The LSP based editor should use the dark theme, when Dark is selected: image leads to a dark LSP editor as well. Different themes for the editor can be selected via the context menu of the ruler on the left side of the editor window: image

TextMate themes (also the defaults) can be edited as well via Window->Preferences->TextMate->Theme image

alexkaratarakis commented 4 months ago

Thank you, that works!