Skip to content

"Open in Visual Studio Code" for the macOS context menu

License

Notifications You must be signed in to change notification settings

lightningboltemoji/open-in

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

open-in

Add a macOS context menu shortcut for your favorite editor!

Releases are published for Visual Studio Code and Zed, but following the steps below should work for most editors. Tested with macOS Sonoma 14.3.

Option 1: Prebuilt

  1. Download the latest release, extract, open to install

Option 2: DIY (recommended)

  1. Open Automator
  2. File > New > Quick Action
  3. Search the actions sidebar for "Open Finder Items"
  4. Drag it to the main area that says "Drag actions ..."
  5. Open with -> Other... -> Visual Studio Code (or any editor)
  6. File -> Save
  7. Enter "Open in Visual Studio Code" (or what you want the context action to say)
  8. Open Terminal
  9. Execute plutil -remove NSServices.0.NSIconName "$HOME/Library/Services/Open in Visual Studio Code.workflow/Contents/Info.plist"

Credits

Nothing about this is original. This is just meant to combine the best pieces of the existing methods that are floating around.

About

"Open in Visual Studio Code" for the macOS context menu

Resources

License

Stars

Watchers

Forks

Packages

No packages published