How bchatard/alfred-jetbrains works
Main Components
a. User Interface Layer:
• Alfred 5 Interface (entry point)
• As a top-level component with keyword inputs (jb, pstorm, idea, etc.)
b. Core Components:
• Alfred Workflow Engine
• Node.js Runtime Environment
• JetBrains Project Scanner
• Shell Script Integration Layer
c. External Components:
• JetBrains IDEs
• JetBrains Toolbox (optional integration)
• Project Directory Storage
Component Relationships
• User Input → Alfred Interface
• Alfred Interface → Workflow Engine
• Workflow Engine → Node.js Runtime
• Node.js Runtime → Project Scanner
• Project Scanner → JetBrains Configuration Directories
• Workflow Engine → Shell Script Integration
• Shell Script Integration → JetBrains IDEs
Specific Implementation Details
Create sections for:
• Configuration Management
• .editorconfig
• Package configuration (package.json)
• Custom settings (edition.md, bin.md)
• Project Discovery Flow
• Project scanning mechanism
• Cache management
• Project filtering
Technical Details to Highlight
• Shell script initialization process
• Project detection mechanisms
• IDE-specific customization options
• Cross-product search functionality