Skip to content

Instantly share code, notes, and snippets.

@jessenich
Last active December 25, 2020 22:29
Show Gist options
  • Select an option

  • Save jessenich/7c448ae070fa6c84e7d1a5ec98fd830b to your computer and use it in GitHub Desktop.

Select an option

Save jessenich/7c448ae070fa6c84e7d1a5ec98fd830b to your computer and use it in GitHub Desktop.
Mac OS X Open in VSCode
- Open Automator
- File -> New -> Service
- Change "Service Receives" to "files or folders" in "Finder"
- Add a "Run Shell Script" action
- Change "Pass input" to "as arguments"
- Paste the following in the shell script box: open -n -b "com.microsoft.VSCode" --args "$*"
- use "com.microsoft.VSCodeInsiders" for insiders edition
- Save it as something like "Open in Visual Studio Code"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment