Open in Code for MAC

Free, open-source Finder toolbar button for Mac that opens the folder you are viewing in Visual Studio Code with one click. Needs VS Code.

Open in Code Overview

Open in Code is a small native Mac utility that lives in the Finder toolbar. One click takes you from the folder or file you are looking at to the matching workspace in Visual Studio Code, without opening a terminal or navigating to the folder again. If a folder is selected, it opens that folder. If a file or Finder package is selected, it opens the folder containing it. With several items selected it uses the first one, and with nothing selected it opens the folder shown in the front Finder window.

You need Visual Studio Code or Visual Studio Code Insiders installed, because the app only opens them and is not an editor itself. It prefers the stable version and falls back to Insiders. To set it up, move the app to Applications, then hold Command and drag it to the Finder toolbar. On first use macOS asks whether it may control Finder; allow this so it can read your selection. Open in Code is free and open source under the MIT license and is made by Sertaç Özercan. Version 2.0.0 is a universal app for Apple Silicon and Intel and needs macOS 12 or later.

Key Features

Open in Code does one job from the Finder toolbar.

  • One click: a button in the Finder toolbar, always ready.
  • Selected folder: opens that folder in VS Code.
  • Selected file: opens the folder that contains it.
  • Nothing selected: opens the folder of the front Finder window.
  • Several items: uses the folder of the first selected item.
  • Stable or Insiders: prefers Visual Studio Code, falls back to Insiders.
  • Aliases: resolves Finder aliases and rejects broken ones.
  • Clear errors: guidance when Finder access is denied or launching fails.

What’s New in Version 2.0.0

Open in Code 2.0.0 is a major modernization of the Finder toolbar utility.

  • Rebuilt in Swift 6, with a universal build for Apple Silicon and Intel
  • Uses the first selected item or falls back to the front Finder window
  • Opens folders directly and the containing folder for files and packages
  • Resolves aliases without showing any interface and rejects broken ones
  • Falls back to Insiders when stable VS Code is unavailable
  • New app icon and Homebrew installation through the sozercan/repo tap

Open in Code FAQ

Is Open in Code free?

Yes. Open in Code is free and open source under the MIT license.

Which macOS version does Open in Code need?

Version 2.0.0 needs macOS 12 or later.

Does Open in Code run on Apple Silicon?

Yes. It is a universal app for Apple Silicon and Intel.

Does Open in Code need Visual Studio Code?

Yes. You need Visual Studio Code or Visual Studio Code Insiders installed. It prefers the stable version and falls back to Insiders.

How do I add Open in Code to the Finder toolbar?

Move the app to Applications, hold Command and drag it to the Finder toolbar. Hold Command while dragging again to move or remove it.

What opens when I click the button?

A selected folder opens itself, a selected file or package opens its containing folder, several items use the first one, and with nothing selected the front Finder window's folder opens.

Why does macOS ask for permission to control Finder?

The app needs this to read your current Finder selection. Allow it on first use.

How do I fix denied Finder access?

On macOS 13 or newer, enable Open in Code → Finder in System Settings → Privacy & Security → Automation. On macOS 12, use System Preferences → Security & Privacy → Privacy → Automation.

Can I install Open in Code with Homebrew?

Yes, through the developer's own tap: brew install --cask sozercan/repo/open-in-code.

Where does the Open in Code download on open-in-code.FULLMAC.app come from?

The download button leads to the official Open in Code releases page at https://github.com/sozercan/OpenInCode/releases/latest. open-in-code.FULLMAC.app does not change or repackage the app.

Similar Apps

More from Sertaç Özercan

FULLMAC.app does not host this app. Download buttons lead to the developer’s own pages.