Reputation: 2738
I love VS Code, but I am really missing one feature from its big brother, Visual Studio.
In Visual Studio, you load the file in the editor when you navigate to it, and if you press enter, you jump into the editor and can start editing the file.
How can I do the same in VS Code?
VS Code keyboard shortcuts reference
Upvotes: 42
Views: 25147
Reputation: 3441
On a MacOS, you'd use CMD
+SHIFT
+E
to focus on the sidebar. Then you can use the arrow keys to navigate up and down the tree. To open a file or expand a folder, you can hit the spacebar
key.
Upvotes: 29
Reputation: 10103
To Show Explorer / Toggle Focus press Ctrl+Shift ⇧+E in Windows/Linux, in macOS press Cmd ⌘+Shift+E.
It will focus on the explorer sidebar, then you can navigate through the file tree with the arrow-keys.
Upvotes: 52