Quantcast
Channel: Visual Studio and tools – The Wiert Corner – irregular stream of stuff
Viewing all articles
Browse latest Browse all 239

MacOS: starting Visual Studio Code from the finder

$
0
0

On MacOS, a long standing wish from many developers has been to open a folder with Visual Studio Code: [WayBack] Mac OS X :: “Open Folder With” VS Code · Issue #1223 · Microsoft/vscode · GitHub.

There are many reasons for wanting this, and other tools can do this too (like Terminal, TextWrangler, Source Tree, Beyond Compare), so I was a bit surprised Visual Studio Code does not have it by default.

After initially being closed, the issue has been open for a while, so I started digging a bit for solutions that are easy to configure or install.

The last one is currently on the top of my list, so I copied and installation instructions, and added a few screenshots to explain the already included video below.

  1. Download app or using brew cask install open-in-code (if using VS Code Insiders, download this instead)
  2. Move Open in Code.app to /Applications (brew already has done that)
  3. Go to /Applications
  4. Right-click Open in Code.app and click Open. When the security dialog prompt appears, click Open.
     
  5. While holding Command key, drag Open in Code.app to Finder toolbar
  6. Once Visual Studio Code new window is opened, close it.

Each time you want to open a folder in Visual Studio:

  1. Navigate to a folder you want to open with Visual Studio Code
  2. Click on the toolbar icon
  3. Folder will open with Visual Studio Code

–jeroen


Viewing all articles
Browse latest Browse all 239

Trending Articles