Files
dioxus/packages/extension
Jonathan Kelley 1025bd69f0 fix: autofmt duplicate whitespace on attributes, flickering of vscode autoformat (#5159)
* wip: failing test

* edit harness a bit

* wip, not fixed entirely

* fix comment accumulation and whitespace

* fix: autofmt syncrhonize edits with vscode waitUntil edit pipeline

* fix optimization collapsing away whitespace

* comment out test case for now
2025-12-29 22:04:41 -05:00
..
2023-07-08 18:53:43 -07:00
2023-07-08 18:53:43 -07:00
2023-07-08 14:24:01 -07:00
2023-07-08 14:24:01 -07:00
2025-05-24 23:31:42 +01:00
2023-07-08 14:24:01 -07:00
2023-07-08 14:24:01 -07:00
2025-05-24 23:31:42 +01:00
2025-10-30 21:29:09 -07:00
2023-07-08 18:53:43 -07:00

Dioxus VSCode Extension

Dioxus Splash

This extension wraps functionality in Dioxus CLI to be used in your editor!

Features:

  • Auto-format RSX
  • Convert HTML to RSX
  • Convert HTML to Dioxus Component
  • Format RSX

Current commands:

Convert HTML to RSX

Converts a selection of html to valid rsx.

Convert HTML to Dioxus Component

Converts a selection of html to a valid Dioxus component with all SVGs factored out into their own module.

Format RSX

Formats the current file as RSX.

Building this extension from source

  • make sure wasm-bindgen is installed to current version (cargo binstall wasm-bindgen-cli)
  • run npm install
  • run npm run vsix

Working with Dioxus:

This overview provides a brief introduction to Dioxus. For a more in-depth guide, make sure to check out:

Contributing

License

This project is licensed under the MIT license.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Dioxus by you, shall be licensed as MIT, without any additional terms or conditions.