alfred-open-in-vscode
v2.0.1
Published
Alfred workflow to open in VSCode
Downloads
49
Readme
Alfred Open in VSCode
Alfred 4 workflow to open in VSCode.
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. Pressenter
to open selected project in VSCode. Holdcommand
and pressenter
to reveal in Finder. - Select a file in Finder, type
code
(without space) and pressenter
to open this folder in VSCode.
Troubleshooting
- Type
code DEBUG
to show the debug info.
Related
- shaodahong/alfred-code - Find projects from VSCode application cache.
- Alfy - This workflow is based on Alfy.
- Alfred Open in WebStorm - Same workflow for WebStorm.
- Alfred 4 Workflow Open in VSCode - Related article.