Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add language icons to the language selector #21298

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

danilo-leal
Copy link
Contributor

Closes #21290

This is a first attempt to show the language icons to the selector. Ideally, I wouldn't like to have yet another place mapping extensions to icons, as we already have the file_types.json file doing that, but I'm not so sure how to pull from it yet. Maybe in a future pass we'll improve this and make it more solid.

Screenshot 2024-11-28 at 16 10 27

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Nov 28, 2024
@osiewicz
Copy link
Contributor

You could look at languages config (which IIRC wouldn't require loading it) for a list of suffixes to use for lookup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Select language show alongside the icons
2 participants