Official Visual Studio Code support for the Can Framework. This extension provides a rich development experience for building reactive web applications using .can files.
Features
🚀 Language Server Support (LSP)
IntelliSense: Smart code completion for framework keywords (signal, computed, effect), HTML tags within templates, and CSS properties in scoped styles.
Hover Documentation: Instantly view documentation for framework primitives by hovering over them.
Go to Definition: Navigate directly to imported components or class definitions using F12 or Ctrl+Click.
Real-time Diagnostics: Immediate feedback on syntax errors and compiler warnings directly in the editor.
Document Formatting: Automatic code formatting and indentation for clean, consistent codebases.
🛠️ Recommended Configuration
To get the best experience, including Format on Save, add the following to your VS Code settings.json: