# Open in Visual Studio Code via "Shortcuts" app - Make sure `code` executable is added to path. If not `cmd+shift+p` in code and run `install 'CODE' command in PATH` - Open Shortcuts - Create a new Quick Action - Set “Receive” to `files or folders` - Add a `Run Shell Script` action - your default shell should already be 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 :wink: - Set the script action to the following ``` code "$@" ``` - Set “Pass input” to `as arguments` - Save by closing the window