You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wrong coloring during debugging for Spring components in the dark theme #357
Ah, just learned that this coloring is coming from the language server to show that additional information is available. If that color is defined as a preference you could style it better in the dark theme. Let me know if you want to do this, I can then search for an example how to style preferences via CSS.
changed the title [-]Sometimes coloring wrong for Spring components in the dark theme[/-][+]Wrong coloring during debugging for Spring components in the dark theme[/+]on Aug 29, 2019
@martinlippert do you have a preference for this color already? If yes, please let me know the key for it. I could use a preference initializer to set it to something readable for me until this bug is fixed.
@martinlippert do you have a preference for this color already? If yes, please let me know the key for it. I could use a preference initializer to set it to something readable for me until this bug is fixed.
The plugin id: org.springframework.tooling.ls.eclipse.commons
Preference key: 'STS4BootMarkerIndicationColor'
I have updated some colors to use theme in Boot Dash. Also updated green color for boot highlights to come from the Theme. However, I have updated it for the hacky version of marker that is used together with CodeLenses (to work around the bug with CodeLens and marker painting). If CodeLens is off then the marker looks come from org.eclipse.ui.editors.markerAnnotationSpecification ext point. There doesn't seem to be any theme support for this extension, but it is the culprit for the yellow color seen on the screenshot as looks like Eclipse is trying to invert this color automatically based on the background (didn't figure out where yet)
We do not need the second hacky version of the marker - it's going away. The marker from org.eclipse.ui.editors.markerAnnotationSpecification stays, I might introduce the second marker for the dark theme if i don't find any support for themes
(comment in Pivotal Tracker added by Martin Lippert:)
one minor thing that I noticed: the background of the filter box in the boot dashboard is a bit too light (in the dark mode), would be better if the background would be darker.
Activity
vogella commentedon Aug 29, 2019
Ah, just learned that this coloring is coming from the language server to show that additional information is available. If that color is defined as a preference you could style it better in the dark theme. Let me know if you want to do this, I can then search for an example how to style preferences via CSS.
[-]Sometimes coloring wrong for Spring components in the dark theme[/-][+]Wrong coloring during debugging for Spring components in the dark theme[/+]martinlippert commentedon Aug 29, 2019
Absolutely, any pointers and hints would be highly appreciated
vogella commentedon Aug 29, 2019
OK, I assume you have a preference for this color already. In this case you can contribute styling to the dark theme for this color via an extension.
Not sure, if you have already a css for the dark theme? If not, create one file ("css/e4-dark_sts4_prefstyle.css") and point via an extension to it:
Within this file you can style your preferences.
Example (from egit)
/* ############################## EGIT preferences ############################## */
The :org-eclipse-egit-ui should be replaced with your plugin ID and is important as you otherwise override styling from other plugins.
vogella commentedon Aug 30, 2019
@martinlippert do you have a preference for this color already? If yes, please let me know the key for it. I could use a preference initializer to set it to something readable for me until this bug is fixed.
vogella commentedon Aug 30, 2019
Also the Dashboard could use CSS configured colors with the same approach as described above.
BoykoAlex commentedon Sep 5, 2019
The plugin id:
org.springframework.tooling.ls.eclipse.commonsPreference key: 'STS4BootMarkerIndicationColor'
spring-projects-issues commentedon Sep 6, 2019
(comment in Pivotal Tracker added by Alex Boyko:)
I have updated some colors to use theme in Boot Dash. Also updated green color for boot highlights to come from the Theme. However, I have updated it for the hacky version of marker that is used together with CodeLenses (to work around the bug with CodeLens and marker painting). If CodeLens is off then the marker looks come from
org.eclipse.ui.editors.markerAnnotationSpecificationext point. There doesn't seem to be any theme support for this extension, but it is the culprit for the yellow color seen on the screenshot as looks like Eclipse is trying to invert this color automatically based on the background (didn't figure out where yet)We do not need the second hacky version of the marker - it's going away. The marker from
org.eclipse.ui.editors.markerAnnotationSpecificationstays, I might introduce the second marker for the dark theme if i don't find any support for themesspring-projects-issues commentedon Sep 10, 2019
(comment in Pivotal Tracker added by Martin Lippert:)
one minor thing that I noticed: the background of the filter box in the boot dashboard is a bit too light (in the dark mode), would be better if the background would be darker.
spring-projects-issues commentedon Sep 10, 2019
(comment in Pivotal Tracker added by Alex Boyko:)
I raised https://bugs.eclipse.org/bugs/show_bug.cgi?id=550939 All Text with SWT.SEARCH style look like that :-(