Add “Open in VSCode” option to the context menu (right-click menu) on Mac

Spencer Feng
2 min readAug 25, 2024

It would be helpful to have an option in the right-click context menu for folders or files that allows us to open them in VSCode. In this article, I’ll guide you through the steps to make that possible.

Step 1 — Locate the Automator app, which comes pre-installed on your Mac.

Step 2 — Launch Automator and create a new document.

Step 3 — Select “Quick Action” as the document type.

Step 4 — Set up the workflow.

Choose “files or folders” and “Finder.app” from the workflow-related dropdowns.

Step 5 — Drag the “Open Finder Items” action to the builder area.

--

--