skip to Main Content

In VS Code, Is there a way to open up the file selector dropdown, i.e. this:
dropdown_example

with just the keyboard- such that I will be able to use the arrow keys + enter to switch files?

2

Answers


  1. To access the breadcrumbs using the keyboard, you can use the following commands (in the command palette, or use the corresponding keybinding):

    • Focus Breadcrumbs (On Windows and Linux, ctrl+shift+;. On macOS, use cmd instead of ctrl). You can then use the arrow keys and the enter and escape keys to navigate.

    • Focus and Select Breadcrumbs (On Windows and Linux, ctrl+shift+.. On macOS, use cmd instead of ctrl). You can then use the arrow keys to navigate.

    Corresponding source code (ctrl+f for "register2").

    Login or Signup to reply.
  2. Go to settings>keyboard shortcuts
    then search for "Focus on File Explorer" and put any keybinding (e.g. ctrl+alt+f) as you like to go to file explorer and then you can navigate through the files using keyboard arrow keys.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search