Lightning Blits VS Code extensionThis is the official VSCode extension for the Lightning Blits framework. It provides syntax highlighting, code completion, error checking, and other features to make working with Blits easier. FeaturesSyntax HighlightingThis extension enables syntax highlighting for the template in your Blits components. Code CompletionThe extension offers context-aware IntelliSense for the Blits framework, focusing specifically on component properties and names within template definitions. For code outside of these templates, the extension defers to VSCode's built-in IntelliSense. The code completion feature is designed to avoid suggesting duplicate component properties, providing a cleaner and more efficient coding experience. CommentingThe extension introduces an enhanced commenting feature for the XML-style templates within Blits components. Integrated seamlessly with the standard VSCode commenting shortcuts, this feature activates when the cursor is positioned within a Blits template or when a block of code within a template is selected. It enables rapid toggling of HTML-style comments ( Format-on-SaveThe extension includes an auto-format feature for the template definitions in Blits components. This feature enhances the development experience by automatically formatting the templates upon saving the file. When you save a Blits component file (.js or .ts), the extension automatically formats the template sections within the file. This ensures that your templates are consistently styled and easy to read. The formatting applies only to the template parts of your file, leaving the rest of your JavaScript or TypeScript code unchanged. You can disable this feature by setting the The extension provides several configuration options to customize the auto-formatting feature. These settings allow you to tailor the formatting to your coding style and preferences. Available SettingsPrint Width (
|