alfred-open-in-vscode

Alfred workflow to open in VSCode

Usage no npm install needed!

<script type="module">
  import alfredOpenInVscode from 'https://cdn.skypack.dev/alfred-open-in-vscode';
</script>

README

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.
  • 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