parinck / alfred-vscode

Alfred 3 workflow that allows you to browse and open Visual Studio Code projects or simply open specified folders/files

Home Page:https://www.npmjs.com/package/alfred-vscode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Development

$ git clone https://github.com/parinck/alfred-vscode
$ npm run preuninstall # deletes workflow from Alfred
$ alfy-init
$ npm run postinstall

alfred-vscode

Commitizen friendly Github all releases GitHub stars NPM total downloads NPM license

Alfred 3 workflow that allows you to browse and open Visual Studio Code (Insiders) projects or simply open specified folders/files.

alfred-vscode in action

Prerequisites

You need

Installation

npm install --global alfred-vscode

Note for Insiders Edition users:

Remember to set the vscodeEdition variable to code-insiders in the Workflow Configuration!

Note for VSCodium users:

Remember to set the vscodeEdition variable to codium in the Workflow Configuration!

It defaults to code.

Usage

Projects

Simply type vsc followed by space to list all projects. Optionally type a query to search for a specific project or group. The overall list shows 100 projects at max.

Select a project and press Enter to open it in VS Code or Code Insiders.

Hold Alt when pressing Enter to open the project path in Terminal - You can set the terminal app in the Workflow variables view.

Hold Shift when pressing Enter to open the project path in Finder.

Folders / Files

Type vs followed by space and search for a specific folder or file to open in Visual Studio Code.

Hold Shift when pressing Enter to open that folder or file in a new VS Code window.

Special Thanks

Big Thanks goes to Cloudstek for his Alfred Atom Workflow which I used as a base for this project.

About

Alfred 3 workflow that allows you to browse and open Visual Studio Code projects or simply open specified folders/files

https://www.npmjs.com/package/alfred-vscode

License:MIT License


Languages

Language:JavaScript 96.8%Language:Shell 3.2%