Issue
Is there a way to change the syntax coloring scheme for the "specfile" editor in Eclipse?
I use Eclipse for C++, PHP and Web development and have customized the colors for those editors. But I have not found any way to change coloring for the RPM specfile editor.
Eclipse Version: 2023-06 (4.28.0)
The default color scheme is completely unreadable:
EDIT I
Here is a screen shot of the context menu:
EDIT II
Right clicking a RPM spec file in the Project Explorer shows "SpecFile Editor". Selecting to open with either the "SpecFile Editor" or "Generic Text Editor" both opens the same, unreadable, editor.
EDIT III
howlger found the right answer!
Solution
The Specfile Editor is from the Eclipse Linux Tools project. Unfortunately, it seems the Specfile Editor does not support dark mode yet.
As workaround, when using a dark theme, you can edit the colors used in the Specfile Editor for syntax highlighting in the preferences General > Appearance > Colors and Fonts:
The Specfile Editor is open source and it would be great if someone would contribute the missing dark mode support: the code of Specfile Editor is here and the default colors are defined here.
Answered By - howlger
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.