Skip to content

Open Folder In VSCode Using A Context Menu in MacOS

Posted on:June 10, 2020 at 12:00 AM


Open a folder in VSCode with a hotkey or context menu in MacOS

I’m used to the Open in VSCode context menu action in Windows, but it was missing in MacOS. So I found out how to add it and want to share it.

Add VSCode to the quick action context menu:

for f in "$@"; do open -a 'Visual Studio Code' "$@" done

Assign a hotkey: