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

Test: Keyboard navigation in trees #67274

Closed
3 tasks done
joaomoreno opened this issue Jan 28, 2019 · 1 comment
Closed
3 tasks done

Test: Keyboard navigation in trees #67274

joaomoreno opened this issue Jan 28, 2019 · 1 comment

Comments

@joaomoreno
Copy link
Member

joaomoreno commented Jan 28, 2019

Tests #64233, #64231

Complexity: 3

New trees now support fancy keyboard navigation. These include Explorer, Search, all Debug trees, Problems.

As you start typing when focused on the Explorer you should get a type label widget appearing in the top-right corner of the Explorer. This tracks the text you type which is matched against all known files and folders (this does not recurse into folders which were never expanded, there's a separate issue tracking that).

There are three different behaviours:

  • Highlight: as you type, the matching items should be rendered with highlights and keyboard arrow navigation should navigate only through those elements (Up, Down).
  • Filter: as you type, the non-matching items get filtered out of view.
  • Simple: this is the native File Explorer keyboard navigation experience; typing the first few characters of a file name will make focus jump there.

You can change between Highlight and Filter in the widget using the mouse (keyboard is #66899). You can also clear the whole type filter widget using the mouse or Escape.

You can change the default behaviour for all trees using the workbench.list.keyboardNavigation setting.

Known Issues:

@dbaeumer
Copy link
Member

Closing

@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants