Skip to content

Instantly share code, notes, and snippets.

@darnocer
Created April 20, 2023 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darnocer/db4f78a74fc7434e76d2b04c8ebfd384 to your computer and use it in GitHub Desktop.
Save darnocer/db4f78a74fc7434e76d2b04c8ebfd384 to your computer and use it in GitHub Desktop.
Open in VSCode Quick Action on Mac

Open in VSCode

Enable the option to right-click a folder and open it directly in VSCode on Mac.

  1. Open Automator
  2. File > New > Quick Action
  3. In the right-hand pane:
    • Worflow receives current files or folders in Finder
    • Optional:
      • Image > Choose... > Select Visual Studio Code from Applications
      • Color > Select Color
  4. In the left-hand pane, in the Actions Library: Search for Open Finder Items and drag it to the right-hand pane
  5. Open With > Other... > Select Visual Studio Code from Applications
  6. File > Save > Open in VSCode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment