/alfred-open-in-vscode

Alfred workflow to open in VSCode

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Alfred Open in VSCode

NPM Version NPM Downloads GPL License Standard Version

Alfred 4 workflow to open in VSCode.

Screenshot

Updates

  • 🎉 2022/9/30 Update script so that it can bring already opened project to front (pull request)

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.
  • Set workflow environment wds to your project base folders. e.g. wds: /Users/vivaxy/Developers/*. Workflow searches only first level folders, so make sure wds point to them. wds stands for working directories.

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