An Alfred 4 workflow opening files or folders with Visual Studio Code.
Based off of the Alfred 2 workflow from franzheidl/alfred-workflows.
- Download the workflow
- Double click the
.alfredworkflow
file to install
Note that the Alfred Powerpack is required to use workflows.
- Use the keyword
code
to trigger the workflow - Press
enter
to open the current folder or the selected file - Alternatively, type a path to open (e.g.,
~/Desktop
)
- Use the keyword
codef
to trigger the workflow - Press
enter
or begin to type your file or folder search term - Select the file or folder you want to open and press
enter