-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Reduce size of text file editor syntax highlight option list, let users customize it #14420
Comments
What do you think about having a nested submenu:
Where popular languages list can be customised in settings as you propose. |
Even 15 options would be a lot in a cascading submenu, especially if the user is on a small screen or has their zoom setting turned way up. I would avoid having a subsubmenu for accessibility and usability reasons. Perhaps a simple modal dialog with a dropdown or combo box control (supporting typeahead or inline search) would be better for this. |
Maybe we could use top 10 most recently used languages, and fall back to a hard-coded "popularity" based list if there is less than 10? |
This is what the statusbar item does. |
So 10 options + 11th opens a dialog with full list + search box? |
I like that: a top 10 list, plus an option to open a dialog with more options. |
See also #2484 |
Problem
The "Text Editor Syntax Highlighting" option in the View menu has dozens of languages listed, including one that has been misspelled (#14418) and one that includes an English-language profanity (#14373). More popular languages are hard to find.
Proposed Solution
By default, show a curated list of popular languages (e.g., those used by more than X% of developers in a popular survey) in the syntax highlighting menu. Allow users to customize this list in the settings editor.
The text was updated successfully, but these errors were encountered: