Dioxus VsCode extension formats my code while I'm typing #3966
haydenflinner
started this conversation in
General
Replies: 1 comment
-
I ran into the same issue. I'm using not vim but VSCode but the procedure might be similar. To enable formatting only when manually saved with {
"dioxus.formatOnSave": "disabled",
} Then, open a command palette and go I think it could be better that this was the default setting of dioxus IDE extension for comfortable coding, but anyway this customization could solve the problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using the latest Cursor, the Dioxus vscode extension within it, plus Cursor's vim keybindings (which I don't think work) plus the Vim extension.
When I type in a component .rs file, whether in the Rust code or the RSX, things get formatted as I'm typing (mid-word) with no delay. I also have auto-save on in the editor, set to like 500ms. Perhaps formatting can be saved til a true CTRL+S or otherwise delayed somehow?
Beta Was this translation helpful? Give feedback.
All reactions