Add dxfmt::skip and workspace recommendations
This commit is contained in:
3 files changed
+40
-25
No files matched your search
Vendored
+6
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"dioxuslabs.dioxus",
|
||||||
|
"rust-lang.rust-analyzer"
|
||||||
|
]
|
||||||
|
}
|
||||||
Vendored
+4
-1
@@ -1,7 +1,10 @@
|
|||||||
{
|
{
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": false,
|
||||||
"[toml]": {
|
"[toml]": {
|
||||||
"editor.formatOnSave": false
|
"editor.formatOnSave": false
|
||||||
},
|
},
|
||||||
|
"[rust]": {
|
||||||
|
"editor.defaultFormatter": "DioxusLabs.dioxus"
|
||||||
|
},
|
||||||
"rust-analyzer.checkOnSave.allTargets": false,
|
"rust-analyzer.checkOnSave.allTargets": false,
|
||||||
}
|
}
|
||||||
@@ -134,12 +134,13 @@ fn mouse_up() {
|
|||||||
modifiers: KeyModifiers::NONE,
|
modifiers: KeyModifiers::NONE,
|
||||||
}));
|
}));
|
||||||
cx.render(rsx! {
|
cx.render(rsx! {
|
||||||
div {
|
#[dxfmt::skip]
|
||||||
width: "100%",
|
div {
|
||||||
height: "100%",
|
width: "100%",
|
||||||
|
height: "100%",
|
||||||
onmouseup: move |_| {
|
onmouseup: move |_| {
|
||||||
tui_ctx.quit();
|
tui_ctx.quit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -173,12 +174,13 @@ fn mouse_enter() {
|
|||||||
modifiers: KeyModifiers::NONE,
|
modifiers: KeyModifiers::NONE,
|
||||||
}));
|
}));
|
||||||
cx.render(rsx! {
|
cx.render(rsx! {
|
||||||
div {
|
#[dxfmt::skip]
|
||||||
width: "50%",
|
div {
|
||||||
height: "50%",
|
width: "50%",
|
||||||
|
height: "50%",
|
||||||
onmouseenter: move |_| {
|
onmouseenter: move |_| {
|
||||||
tui_ctx.quit();
|
tui_ctx.quit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -212,12 +214,13 @@ fn mouse_exit() {
|
|||||||
modifiers: KeyModifiers::NONE,
|
modifiers: KeyModifiers::NONE,
|
||||||
}));
|
}));
|
||||||
cx.render(rsx! {
|
cx.render(rsx! {
|
||||||
div {
|
#[dxfmt::skip]
|
||||||
width: "50%",
|
div {
|
||||||
height: "50%",
|
width: "50%",
|
||||||
|
height: "50%",
|
||||||
onmouseenter: move |_| {
|
onmouseenter: move |_| {
|
||||||
tui_ctx.quit();
|
tui_ctx.quit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -251,12 +254,13 @@ fn mouse_move() {
|
|||||||
modifiers: KeyModifiers::NONE,
|
modifiers: KeyModifiers::NONE,
|
||||||
}));
|
}));
|
||||||
cx.render(rsx! {
|
cx.render(rsx! {
|
||||||
div {
|
#[dxfmt::skip]
|
||||||
width: "100%",
|
div {
|
||||||
height: "100%",
|
width: "100%",
|
||||||
|
height: "100%",
|
||||||
onmousemove: move |_| {
|
onmousemove: move |_| {
|
||||||
tui_ctx.quit();
|
tui_ctx.quit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -330,12 +334,13 @@ fn click() {
|
|||||||
modifiers: KeyModifiers::NONE,
|
modifiers: KeyModifiers::NONE,
|
||||||
}));
|
}));
|
||||||
cx.render(rsx! {
|
cx.render(rsx! {
|
||||||
div {
|
#[dxfmt::skip]
|
||||||
width: "100%",
|
div {
|
||||||
height: "100%",
|
width: "100%",
|
||||||
|
height: "100%",
|
||||||
onclick: move |_| {
|
onclick: move |_| {
|
||||||
tui_ctx.quit();
|
tui_ctx.quit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -369,12 +374,13 @@ fn context_menu() {
|
|||||||
modifiers: KeyModifiers::NONE,
|
modifiers: KeyModifiers::NONE,
|
||||||
}));
|
}));
|
||||||
cx.render(rsx! {
|
cx.render(rsx! {
|
||||||
div {
|
#[dxfmt::skip]
|
||||||
width: "100%",
|
div {
|
||||||
height: "100%",
|
width: "100%",
|
||||||
|
height: "100%",
|
||||||
oncontextmenu: move |_| {
|
oncontextmenu: move |_| {
|
||||||
tui_ctx.quit();
|
tui_ctx.quit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user