I would love to have a menu item on any folder or file in finder, where I can “right click” and “Open in VSCode”.
Here is how you do it,
#1 – Create a new automator service.
#2 – Service receives selected Files or Folders, in Finder, and runs a shell script as follows -
a) Pass input as arguments
b) Shell /bin/bash and run this - "/Applications/Visual Studio Code.app/Contents/MacOS/Electron" $@
#3 save, and enjoy! Result looks like this - https://twitter.com/sahilmalik/status/735669112345624576