Use indentation settings in dx fmt and vscode extension
Adds the ability to specify an indent string to public autofmt methods - either a sequence of spaces or a tab character. Get the indentation style and size from rustfmt for dx fmt, or from the editor settings for the vscode extension. Closes #1595
This commit is contained in:
1 parent
51f342417a
commit
52fb080193
23 files changed
+283
-51
No files matched your search
@@ -0,0 +1,5 @@
|
||||
fn app(cx: Scope) -> Element {
|
||||
cx.render(rsx! {
|
||||
div {"hello world" }
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user