/OpenFolderInVSCode

With this macOS service, you can quickly open any given folder as a project in Visual Studio Code from the Finders context menu.

MIT LicenseMIT

Open a Folder in Visual Studio Code

Installing the macOS service

When working on many simultaneous projects with Visual Studio Code (VS Code), it is convenient having a fast way of opening the project folders. With the open from the terminal shell extension, together this service, your project folders can be opened from both the Terminal and the Finder.

  1. Install the code shell command in Terminal's path using VS Code following these simple instructions.
  2. Download and extract this macOS service.
  3. Open the service and choose Install.

Install the service from the Finder

That's it! Now all you have to do is right clicking on a folder and choose the Open in Visual Studio Code service and your folder will open as a project in VS Code.

Open folder in Visual Studio Code as a service

Original blog post

Changing the code

If you want to edit your own version of this service, clone or download the repository and follow these instructions.