1

Alfred 4 Workflow Open in VSCode

 2 years ago
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

Alfred 4 Workflow Open in VSCode

  • 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 sure wds point to them. wds stands for working directories

Usage

Open Alfred.

  • Type code (with space) to search. Press enter to open the selected project in VSCode. Hold command and press enter to reveal in Finder.
  • Select a folder in Finder, type code (without space) and enter to open this folder in VSCode.

Reference

© Copyright 2011 ~ 2022 by vivaxy


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK