HomeContact
MacOS
Add "Open with Visual Studio Code" in Finder Quick actions in MacOS
April 26, 2022
1 min

If you already have a Windows computer, a nice feature when Visual Studio Code is installed is that you can right-click on any directory and open it directly in VSCode. Well, good news, it’s not natively installed on macOS, but easy to do!

You will learn how to create a quick custom action in Finder with Automator. This method is not restricted to VSCode and can be used with all installed applications!

  1. First, let’s launch the Automator App; you can find it in the Launchpad or using Spotlight (Command ⌘ + Space) and search Automator. At the app opening, choose Quick Action

Quick Action in Automator
Quick Action in Automator

If Automator is already launched, and you don’t have the selection screen, you can hit Command ⌘ + N to create new automation and select Quick Action

  1. In workflow receives current, use the dropdown to select files of folder in Finder. For Images, select the dropdown, click on choose, it will open the application folder, then select Visual Studio Code. This process will add a bit VSCode image to your quick action, neat!

Setup of Quick Action
Setup of Quick Action

  1. Now, let’s add the logic behind it! On the left menu, be sure that Action is selected and search for Open Finder Items, drag and drop it into the process screen. On the Open with dropdown, select Visual Studio Code.

Quick Action Logic
Quick Action Logic

  1. Save this new quick action by hitting ⌘ + S. Be careful with the name you give because this will be what you’ll see in the Quick Action menu in Finder. You can now try your newly created process by going into Finder and right-click on any files or folder > Quick Actions; you’ll now this :

Open with Visual Studio Code in Finder
Open with Visual Studio Code in Finder


Tags

macos

Related Posts

How to turn Bluetooth off automatically on Mac sleep
August 23, 2022
1 min
© 2023, All Rights Reserved.

Quick Links

Contact Us

Social Media