user5047085
user5047085

Reputation:

"Go to file" with VSCode, instead of goToSymbol

I see this line in keybindings.json

{ "key": "shift+cmd+o",   "command": "workbench.action.gotoSymbol" },

which you can see here:

enter image description here

However, I am trying to find the shortcut for "goToFile" - is there such a shortcut?

Currently, to find a file by name, I use "goToSymbol" and then I delete the ampersand and then type the filename and it works, but that's an extra step I'd like to avoid. See:

enter image description here

So my question is, does anyone know how to go directly to searching for a file by name, instead of using goToSymbol?

Upvotes: 2

Views: 101

Answers (1)

Rob Lourens
Rob Lourens

Reputation: 16119

It's ctrl+p by default, workbench.action.quickOpen.

Upvotes: 2

Related Questions