Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>CanxJS ExtensionNew to Visual Studio Code? Get it now.
CanxJS Extension

CanxJS Extension

chandafa

|
1 install
| (1) | Free
CanxJS support for Visual Studio Code - Snippets, Code Generation, and IntelliSense
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CanxJS Extension for VS Code

🚀 Official VS Code extension for CanxJS - Ultra-fast async-first MVC backend framework for Bun.

Features

📝 Snippets (20+)

Type these prefixes in TypeScript/JavaScript files:

Prefix Description
canx-controller Basic controller
canx-controller-crud Full CRUD controller
canx-controller-api API controller with JWT
canx-controller-auth Auth controller
canx-routes Routes file boilerplate
canx-route Single route
canx-route-group Route group
canx-route-controller Controller routing
canx-model Model with methods
canx-migration Database migration
canx-seeder Database seeder
canx-middleware Custom middleware
canx-auth-middleware JWT auth middleware
canx-layout Layout template
canx-view JSX view component
canx-jsx-component Reusable component
canx-app App entry point
canx-config Configuration file
canx-queue-job Queue job handler
canx-websocket WebSocket server
canx-event Event listener

⚡ Commands

Open Command Palette (Ctrl+Shift+P / Cmd+Shift+P):

  • Canx: Create Controller - Scaffold a new controller
  • Canx: Create Model - Scaffold a new model
  • Canx: Create Middleware - Scaffold custom middleware
  • Canx: Create Migration - Scaffold database migration
  • Canx: Create Seeder - Scaffold database seeder
  • Canx: Create View - Scaffold JSX view component
  • Canx: Show Info - Show extension info & links

🖱️ Context Menu

Right-click on a folder in Explorer to quickly create:

  • Controllers
  • Models

⚙️ Configuration

Configure in Settings (canxjs.*):

  • canxjs.defaultPort - Default port (3000)
  • canxjs.useTypeScript - Use TypeScript (true)

Installation

From VSIX

code --install-extension vscode-canx-1.0.0.vsix

From Marketplace (Coming Soon)

Search "CanxJS" in VS Code Extensions.

Quick Start

  1. Open a CanxJS project
  2. Type canx- to see all snippets
  3. Use Ctrl+Shift+P → Canx: for commands

Links

  • CanxJS Documentation
  • CanxJS GitHub
  • Report Issues

License

MIT © 2024 CanxJS Team

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft