Jeff Bailey
Written by Jeff Bailey
Learning resources, opinions, and facts about technology.

Open in Visual Studio Code on macOS

Reading Time: 1.1 minutes
Listen to this post

Open in Visual Studio Code on macOS using Automator.

1. Open Automator
2. Choose a new Quick Action

3. Search for the Run Shell Script action

4. Configure the command with the following settings

  • Workflow receives current: files or folders
  • In: Finder
  • Image (Optional): I used this image
  • Pass Input: as arguments
  • Command: open -n -b “com.microsoft.VSCode” –args “$1”

5. Save your new quick action and name it something like Open with Visual Studio Code
6. Open Finder
7. Choose a folder you want to open with Visual Studio Code
8. Double-tap or right-click depending on your input device
9. Choose Open with Visual Studio Code
10. Tada!