Repository navigation
Adds an option to view extensions in select language mode - #107089
Tomer Stav (tomerstav) wants to merge 3 commits into
Conversation
|
I do not fully understand how this PR fixes #106886 |
Once you view extensions in the description of the dropdown enums you can search against these file types. Such as jsx or ts. If you pull down my branch and run it you can see this by the following steps.
Thus, you can filter values by extension. |
…ld-allow-filtering-by-file-extension
|
I understand, but why can we not simply allow to search by file extension? Why the extra action to enable that? |
I assume most users do not search by extension name and that those that do wouldn't want to see all the extension names in the description. If we allow all users to search for extensions without seeing the description then that would be problematic as users who are searching by language name would see results from extension names thinking they are in error and not relevant to their search. Please let me know how you would like to proceed. I can easily display all file names in the description without an action, allowing a search by file extension for all users. |
…ld-allow-filtering-by-file-extension
|
To clarify: my suggestion was to leave the picker as it is today but include the file extension to show results when you search. You think that is confusing? Why? |
With extension names in the descriptions? I'm okay with that but I think having the extra action makes it cleaner. Without extension names in the descriptions? I think it wouldn't be clear why you are getting the results you are getting. Right now the users input is being highlighted in the results to explain to the user why they are getting what they got. We wouldn't be able to highlight any of the results as the file extension would not be part of the description. |
|
Since we now have another PR for this in #107939 I suggest that we keep it to one. I somewhat like the approach there better but think it needs more tweaking as outlined in #107939 (comment) |
A user can search against extension names in select language mode by selecting Show Extensions. If a user wants to undo the action they can re-click the language type at the bottom right of the window.

This PR fixes #106886