Skip to content

"Normal" filtering input for trees #70646

Closed

Description

@usernamehw

Issue Type: Feature Request

https://code.visualstudio.com/updates/v1_31#_new-tree-widget

Is it possible to replace current filtering feature with an ordinary input element?

normal input filter on type
✅ standard element ❌
✅ being able to have simple navigation and still filter items ❌
✅ no clash with extension contributed keybindings ✅❌ can be mitigated with workbench.list.automaticKeyboardNavigation & list.toggleKeyboardNavigation
✅ can paste text ❌
✅ can undo ❌
✅ can select text ❌
✅ good discoverability ❌
✅ preverve text on reload ❌
❌ takes one row of space ✅ only visible while typing
outline_old outline_new

filter disappeared on outline view #70095
Performing a search on Outline #70640
Filter box in Outline has dissapeared in Release 1.32.3 #70605
Search field in structure side panel #70575
Search input field missing in new outline in Code 1.32.1 #70038

Yeah, you can tell those people where to find the "filter on type" feature, but all the new users potentially would never even know that it exists.

Activity

  1. added
    editor-find
    on Mar 17, 2019
  2. MgSam commented on Apr 23, 2019

    @MgSam

    To add my 2 cents- you really need to restore the search boxes. The filtering ability you guys added for trees is a nice idea but is absolutely horrible from a UX perspective. It has zero discoverability. And even once you know it exists, it still sucks because you have to give the tree focus by clicking somewhere random inside of it before typing. You can't possibly expect all your users to dig through documentation to learn how to perform a basic search.

    A good rule of thumb for UX design is that if you're doing something no other application does, there's probably a reason why that is (and not because it's a great idea- people have been building GUIs for decades- there are precious few "undiscovered" UI paradigms left).

  3. martbean commented on May 1, 2019

    @martbean

    I agree. Added to which, for whatever reason 'Filter on Type' doesn't seem to work for me at all. Possibly one of my extensions is interfering with it but regardless, the old search box was much more user-friendly. Can it at least be an option?

  4. futurekill commented on May 21, 2019

    @futurekill

    +1 From me...I had to search through github tickets to find out that 1. it was removed and 2. how to access that functionality. As it is now it's completely intuitive.

  5. JasonZough commented on Jun 5, 2019

    @JasonZough

    desperate for a filter box in outline when writting Vue.

  6. nataliethistime commented on Jul 8, 2019

    @nataliethistime

    +1 - VS Code's Vim seems to eat my keyboard input, rendering this feature unusable. Please bring back a text box so that this works again. ❤️

  7. added
    feature-request
    tree-widget
    *out-of-scope
    and removed
    editor-find
    on Oct 8, 2019
  8. vscodebot commented on Oct 8, 2019

    @vscodebot

    This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that are not going to be addressed in the foreseeable future: We look at the number of votes the issue has received and the number of duplicate issues filed. More details here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.

    If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

    Thanks for your understanding and happy coding!

  9. AlekSi commented on Oct 17, 2019

    @AlekSi

    I.e. has it gathered more than 10 up-votes

    Yes. Please re-open.

  10. 16 remaining items

  11. bytehow commented on Jun 2, 2022

    @bytehow

    This "filter on type" is so cumbersome, especially when using the Vim extension. I have to click on the "Outline" section header to give it focus but not move my cursor. I have to click it again because if it the panel was already open, the previous click collapses the panel. Now outline has focus, but I've got to 1) make sure Outline still has focus and 2) type / so I can enter Vim's search mode before I can start filtering.

    PLEASE at least make the filtering input box an option!

  12. hntrewhitt commented on Jun 22, 2022

    @hntrewhitt

    It would be very useful to be able to search/filter the entire File Explorer tree (or the tree within a specific folder) based on filename/extension; being able to type something like **/*.js or a regexp like .jsx?$ and see all the files in the whole tree (or tree within a folder) whose filename match that.

  13. added
    unreleased
    insiders-released
    and removed
    unreleased
    on Jul 18, 2022
  14. added
    on-release-notes
    on Jul 24, 2022
  15. MohamedLamineAllal commented on Aug 23, 2022

    @MohamedLamineAllal

    is this feature no more working with 1.70.2? When I type, I get taken to a. file that starts with the letter and does not activate the filtering mechanism ??

  16. MohamedLamineAllal commented on Aug 23, 2022

    @MohamedLamineAllal

    I'll answer myself. There was an update. And the way it works now is by Cmd + F or Ctrl + F while focused on the tree. Way better.

    https://code.visualstudio.com/updates/v1_70#_tree-find-control

    Official doc wasn't updated on that regard.

  17. joaomoreno commented on Aug 24, 2022

    @joaomoreno
    Contributor
  18. locked and limited conversation to collaborators on Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestinsiders-releasedon-release-noteson-testplantree-widget

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions