Socket
Book a DemoInstallSign in
Socket

alfred-open-in-ide

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alfred-open-in-ide

This workflow opens directories in your integrated development environment (IDE) of choice using fuzzy search. Supported IDEs include:

0.0.1
latest
npmnpm
Version published
Maintainers
1
Created
Source

Open in IDE Alfred Workflow

This workflow opens directories in your integrated development environment (IDE) of choice using fuzzy search. Supported IDEs include:

  • Cursor
  • VS Code
  • JetBrains Webstorm

[!IMPORTANT] Before using this workflow make sure your IDE terminal command is installed, available in $PATH, and you can open directories/files directly from terminal. e.g. cursor ~/dev/myproject.

demo

Installation

NPM

npm install -g alfred-open-in-ide

Github releases

  • Download the latest release from the releases page
  • Double-click the downloaded .alfredworkflow file to install
  • Alfred will prompt you to import the workflow - click "Import"

Usage

Configuration

  • Open Alfred Preferences
  • Go to the Workflows tab
  • Find "Open in IDE" in your workflows list
  • Click the workflow to open its settings
  • Click the "Configure" button to open the configuration panel

configuration

In the configuration panel, you can:

  • Projects Directory: Set the path to your projects directory using glob patterns. For example:

    • ~/Projects/* - All directories in your Projects folder
    • ~/Projects/*/* - All directories and their immediate directories in your Projects folder
    • ~/Projects/{project1,project2} - Specific projects
  • IDE Selection: Choose your preferred IDE from the dropdown menu. Available options:

    • Cursor (default)
    • Visual Studio Code
    • WebStorm

Activation

Once configured the Alfred keyword will match the name of your chosen IDE (cursor, code, or webstorm). Open alfred, type the name of your chosen IDE followed by a space, now begin typing the name of the directory/project you want to open.

Development

Prerequisites

  • Node.js 20 or later
  • pnpm 10 or later
  • Alfred 5 or later

Setup

  • Clone the repository:

    git clone https://github.com/jackw/alfred-open-in-ide.git
    cd alfred-open-in-ide
    
  • Install dependencies:

    npm install
    

    [!Note] This will also install the workflow in Alfred.

  • Start development mode:

    npm start
    

Building

To build the workflow for distribution:

pnpm build

Testing

Run the test suite:

pnpm test

Contributing

  • Fork the repository
  • Create your feature branch (git checkout -b feature/amazing-feature)
  • Commit your changes (git commit -m 'Add some amazing feature')
  • Push to the branch (git push origin feature/amazing-feature)
  • Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Thanks

This workflow wouldn't exist without these awesome projects:

Keywords

alfred

FAQs

Package last updated on 03 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.