Meet Vapor for VS Code

The extension offers a variety of features related to Vapor, Fluent, and Leaf. It supports all platforms supported by Vapor, including macOS and Linux. It can also be used with VS Code in the browser, but only for some Leaf-related features.

blog.vapor.codes/posts/vapor-for-vscode/

The "Vapor for VS Code" extension, developed over six months to enhance Vapor application development, supporting macOS, Linux, and limited Leaf features in browser-based VS Code. It enables project creation via the Welcome page or Command Palette’s Vapor: Create New Project... command, using Vapor’s default template or custom ones via URL, requiring the Vapor Toolbox for setup.

The extension provides robust Leaf language support, including syntax highlighting for Leaf tags atop HTML, formatting for consistent indentation with Format Document or Format Selection, and Emmet support for quick HTML generation. It also offers IntelliSense snippets for Vapor endpoints, Fluent models, migrations, and Leaf constructs, accessible via typing or the Insert Snippet command.


Category:

Year: