Skip to content

Instantly share code, notes, and snippets.

View vandmac's full-sized avatar

Andrzej Maćkowski vandmac

  • Bydgoszcz, Poland
  • 08:22 (UTC +01:00)
View GitHub Profile
@vandmac
vandmac / vscode-macos-context-menu.md
Created July 18, 2022 06:14 — forked from idleberg/vscode-macos-context-menu.md
“Open in Visual Studio Code” in macOS context-menu

Open in Visual Studio Code

  • Open Automator
  • Create a new document
  • Select Quick Action
  • Set “Service receives selected” to files or folders in any application
  • Add a Run Shell Script action
    • your default shell should alreadybe selected, otherwise use /bin/zsh for macOS 10.15 (”Catalina”) or later
    • older versions of macOS use /bin/bash
  • if you're using something else, you probably know what to do 😉