Skip to content

vivaxy/alfred-open-in-vscode

Repository files navigation

Alfred Open in VSCode

NPM Version NPM Downloads GPL License Standard Version

Alfred 4 workflow to open in VSCode.

Screenshot

Feature

  • Search projects and open in VSCode.
  • Search projects and reveal in Finder.
  • Open selected file in VSCode.
  • Fuzzy search.

Installation

  • npm i -g alfred-open-in-vscode.
  • Configure workflow, set Project directories to the glob pattern to match your project directories. e.g. /Users/vivaxy/Developer/*/*. This will find projects like /Users/vivaxy/Developer/github/alfred-open-in-vscode and /Users/vivaxy/Developer/gitlab/alfred-open-in-webstorm.

Usage

  • Type code with a space to search. Press enter to open selected project in VSCode. Hold command and press enter to reveal in Finder.
  • Select a file in Finder, type code (without space) and press enter to open this folder in VSCode.

Troubleshooting

  • Type code DEBUG to show the debug info.

Related