Medusa.js VSCode Tools
Visual Studio Code extension providing code snippets and commands for Medusa.js development.
Snippets
API Routes (mr -> Medusa Route)
mrg - GET API route handler
mrp - POST API route handler
mru - PUT API route handler
mrd - DELETE API route handler
mrm - Middleware group route configuration
mrv - Create zod schema for route validation
Workflows (mw -> Medusa Workflow)
mw - Workflow creation
mws - Workflow step creation
Commands
- Create Medusa Module - Generates complete module structure with interactive prompts for models and automatic configuration updates
Usage
Snippets
Type snippet prefix and press Tab to expand.
Commands
Use Command Palette to access "Create Medusa Module" command.
License
MIT License - Feel free to contribute
| |