My Leptos workspaceVS Code extension to help with Leptos app development. This extension provides commands to configure your workspace for Leptos development, including recommended extensions and Tailwind CSS IntelliSense configuration. InstallationInstall through VS Code extensions. Search for Can also be installed in VS Code. Launch VS Code Quick Open (Ctrl+P), paste the following command, and press Enter.
CommandsAll commands are prefixed with
Workspace configurationAll of the configurations below can be executed at once by running the command
Recommended extensionsThis extension provides a command to configure recommended extensions for
Leptos development. It will create or update the
Type Tailwind CSS IntelliSense classes supportUsing Tailwind CSS with Leptos in VS Code, you'll want to use the official extension Tailwind CSS IntelliSense. This extension provides autocompletion and syntax highlighting for Tailwind CSS classes. But it requires a specific configuration in the .vscode/settings.json file to work correctly with Leptos. To set up or update to ensure that the configuration is correct, use
the command Formatting with Rust Analyzer and leptosfmtTo configure formatting with Rust Analyzer and leptosfmt, you can use the
command Don't forget to install leptosfmt and set into your |