Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save sub-mod/1cb12a23b0e0e85f3d1d51237a6103d7 to your computer and use it in GitHub Desktop.

Select an option

Save sub-mod/1cb12a23b0e0e85f3d1d51237a6103d7 to your computer and use it in GitHub Desktop.

Revisions

  1. Anthony Sneed revised this gist Apr 27, 2016. No changes.
  2. Anthony Sneed created this gist Apr 17, 2016.
    7 changes: 7 additions & 0 deletions Mac OS X: Open in Visual Studio Code
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    - 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 "$*"
    - Save it as something like "Open in Visual Studio Code"