How to Add an 'Open in VS Code' Option to macOS Finder
macOS users can add a quick action to Finder that opens files or folders directly in Visual Studio Code, skipping the need to navigate through Terminal. The setup can be done either manually using the built-in Automator app or automatically via a shell script that creates the same workflow. The manual method involves creating a Quick Action in Automator configured to run a single shell command targeting VS Code's bundle identifier. Once saved, the action appears in Finder's right-click context menu under Quick Actions or Services, depending on the macOS version. Users can also assign a custom keyboard shortcut, such as Shift+Command+V, to trigger the action without using the context menu.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in