Can I use VSCode's command palette explorer to open folders on Mac?

Viewed 238

Is it possible to set the file explorer for the File: Open Folder... shortcut to use the same one File: Open Recent... uses on Mac?

Right now it opens Finder and I don't really like how I have to start using my mouse/trackpad to navigate I'm quite enjoying just using my keyboard when in VSCode

I've been using VSCode with WSL until this point

2 Answers

I think the closes solution to your problem is discussed previous thread and particularly the answers for Mac.

You can open the folder with the following command code . --user-data-dir=., and the linked answer is how to add code if its not accessible on Mac.

Provided command you would use from the terminal to open a new instance, after navigating to the folder.

Spotlight > Terminal > goto Folder > run $ code .

Related