Open
Conversation
printfn
added a commit
to printfn/jpeg-xl-vscode
that referenced
this pull request
Sep 9, 2025
It'd be great if it were possible to directly reference the "image" icon from the Seti theme, but it doesn't look like that is possible. Adding to/extending the Seti theme is also not possible. Defining a new file icon theme (https://code.visualstudio.com/api/extension-guides/file-icon-theme) also doesn't work as this would require me to redefine every existing file icon, and make users select the JPEG XL theme instead of their usual one. The only workable solution seems to be to define a custom language that references a copy of https://github.com/jesseweed/seti-ui/blob/master/icons/image.svg, albeit with spacing adjusted to make it look closer to how the font icon renders in VS Code. Unfortunately the spacing is not perfect, and this now also adds a useless entry to the "Select Language" selector. It would be great if jesseweed/seti-ui#716 could get merged as that would fix all these problems.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a mapping for
.jxlimage files.