npm

alfred-ac-project-selector

1.3.0 • Public • Published

alfred-project-selector Build Status

What does this script do?

It lets you quickly select projects from your ~/projects/www folder and open them in vscode. The path to your projects folder can be configured to you liking by following the instructions under Usage.

Install

$ npm install --global alfred-ac-project-selector

Requires Node.js 14+ and the Alfred Powerpack.

Usage

If your projects are not located in ~/projects/www you can change the environment variable named path in Alfred preferences->Workflows->project-selector->Configure workflow and variables(located in the top right of the workflow window)

In Alfred, type <, Space, and any string to filter by(optional) to see a list of your projects. Navigate to the project you want to open and press Enter to launch your project in vscode.

Modifiers

The selected project can also be opened in iTerm and/or Finder both separately or alongside VSCode using the following modifiers while pressing Enter:

  • ⌘ CMD = Open in VSCode & iTerm
  • ⌘ CMD+⇧ Shift = Open in only iTerm
  • ⌥ OPTION = Open in VSCode & Finder
  • ⌥ OPTION+⇧ Shift = Open in only Finder
  • ⌥ OPTION+⌘ CMD = Open in iTerm & Finder
  • ⌥ OPTION+⌘ CMD+⇧ Shift = Open in VSCode, iTerm & Finder

Troubleshooting

Make sure that you have the code command installed to your path. To install the code command, reference the official guide.

License

MIT © Anton Mehlqvist

Readme

Keywords

Package Sidebar

Install

npm i alfred-ac-project-selector

Weekly Downloads

0

Version

1.3.0

License

MIT

Unpacked Size

24.5 kB

Total Files

6

Last publish

Collaborators

  • antonmehlqvist