Skip to content

Conversation

@FlorianKroiss
Copy link
Contributor

@FlorianKroiss FlorianKroiss commented Dec 8, 2025

A bit more cleanup:

  • IMG_STRING is associated with the non-existing string.png in the ImageRegistry. Furthermore, it is overwritten a few lines later, because IMG_STRING == IMG_TEXT.
  • IMG_COLOR is associated with the non-existing color.png. Furthermore, IMG_COLOR is not used anyway, because for Color we create an actual image with just that color.

I'm not entirely sure if we can remove this code, because it is technically API, but I'd be surprised if someone used either of these constants or tried to access their value within the image registry.

I would also be fine with keeping these entries, but then I would add an appropriate comment

Any thoughts?

@FlorianKroiss FlorianKroiss marked this pull request as ready for review December 9, 2025 08:04
@rubenporras rubenporras merged commit 234f8b0 into eclipse-lsp4e:main Dec 15, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants