Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kbshl/alfred-vscode
Alfred 3 workflow that allows you to browse and open Visual Studio Code projects or simply open specified folders/files
https://github.com/kbshl/alfred-vscode
alfred alfred-workflow alfy browse nodejs npm-package project-manager search visual-studio-code
Last synced: 4 days ago
JSON representation
Alfred 3 workflow that allows you to browse and open Visual Studio Code projects or simply open specified folders/files
- Host: GitHub
- URL: https://github.com/kbshl/alfred-vscode
- Owner: kbshl
- License: mit
- Archived: true
- Created: 2017-08-28T14:45:37.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-02T18:49:03.000Z (almost 2 years ago)
- Last Synced: 2024-09-26T10:18:29.318Z (about 1 month ago)
- Topics: alfred, alfred-workflow, alfy, browse, nodejs, npm-package, project-manager, search, visual-studio-code
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/alfred-vscode
- Size: 5.26 MB
- Stars: 183
- Watchers: 6
- Forks: 31
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred-test - kbshl/alfred-vscode - Alfred 3 workflow that allows you to browse and open Visual Studio Code projects or simply open specified folders/files (JavaScript)
README
# alfred-vscode
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![Github all releases](https://img.shields.io/github/downloads/kbshl/alfred-vscode/total.svg)](https://github.com/kbshl/alfred-vscode/releases/)
[![GitHub stars](https://img.shields.io/github/stars/kbshl/alfred-vscode.svg)](https://github.com/kbshl/alfred-vscode/stargazers/)
[![NPM total downloads](https://img.shields.io/npm/dt/alfred-vscode.svg)](https://www.npmjs.com/package/alfred-vscode)
[![NPM license](https://img.shields.io/npm/l/alfred-vscode.svg)](https://www.npmjs.com/package/alfred-vscode)> [Alfred 3](https://www.alfredapp.com) workflow that allows you to browse and open [Visual Studio Code (Insiders)](https://code.visualstudio.com/) projects or simply open specified folders/files.
![alfred-vscode in action](docs/screenshot.png)
## Prerequisites
You need
- [Node.js 8+](https://nodejs.org)
- [Alfred 3](https://www.alfredapp.com) with the paid [Powerpack](https://www.alfredapp.com/powerpack/) upgrade
- [Visual Studio Code Project Manager](https://marketplace.visualstudio.com/items?itemName=alefragnani.project-manager) - Only if you like to have a project manager for VS Code.
- [Visual Studio Code Command Line](https://code.visualstudio.com/docs/setup/mac)## Installation
```bash
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](https://github.com/Cloudstek) for his [Alfred Atom Workflow](https://github.com/Cloudstek/alfred-atom) which I used as a base for this project.