Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I navigate the VS Code Explorer & open a file via keyboard only?

I'm doing a code review of a project, which means cycling through all the files in it. I want to keep my hands on the keyboard but neither do I want to have to CMD+P and type in the name of each file.

I've bound CMD+K,CMD+E to workbench.files.action.focusFilesExplorer which enables me to easily get to the Explorer, but then I can only explorer.openToSide, which isn't exactly what I want. I want to be able to open them directly, full-screen even if I have other windows open.

Are there commands for this that I can bind to? I suspect this isn't a feature yet.

like image 574
andrewb Avatar asked Mar 22 '18 03:03

andrewb


1 Answers

By default on a mac you can use cmd+down to open the file.

Pressing Enter will edit the filename.

like image 81
chmac Avatar answered Sep 18 '22 14:09

chmac