1
Alfred 4 Workflow Open in VSCode
source link: https://vivaxyblog.github.io/2019/08/14/alfred-workflow-open-in-vscode.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Alfred 4 Workflow Open in VSCode
Feature
- Search projects, press
enter
to open in VSCode. - Search projects, press
command + enter
to reveal in Finder. - Open in VSCode the folder, which selected in Finder.
Installation
npm i -g alfred-open-in-vscode
- Open the workflow in Alfred.
- Set workflow environment
wds
to your project base folders (split with,
). e.g.wds
:/Users/vivaxy/Developers/github,/Users/vivaxy/Developers/gitlab
. Workflow searches only first level folders, so make surewds
point to them.wds
stands forworking directories
Usage
Open Alfred.
- Type
code
(with space) to search. Press enter to open the selected project in VSCode. Holdcommand
and pressenter
to reveal in Finder. - Select a folder in Finder, type
code
(without space) andenter
to open this folder in VSCode.
Reference
© Copyright 2011 ~ 2022 by vivaxy
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK