Alfred 4 workflow to open in VSCode.
- Search projects and open in VSCode.
- Search projects and reveal in Finder.
- Open selected file in VSCode.
- Fuzzy search.
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
.
- 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.
- Type
code DEBUG
to show the debug info.
- 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.