mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-04 18:09:15 +00:00
Add dxfmt::skip and workspace recommendations
This commit is contained in:
parent
500051e2b2
commit
a8af958d75
3 changed files with 40 additions and 25 deletions
6
.vscode/extensions.json
vendored
Normal file
6
.vscode/extensions.json
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"dioxuslabs.dioxus",
|
||||||
|
"rust-lang.rust-analyzer"
|
||||||
|
]
|
||||||
|
}
|
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
|
@ -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,6 +134,7 @@ fn mouse_up() {
|
||||||
modifiers: KeyModifiers::NONE,
|
modifiers: KeyModifiers::NONE,
|
||||||
}));
|
}));
|
||||||
cx.render(rsx! {
|
cx.render(rsx! {
|
||||||
|
#[dxfmt::skip]
|
||||||
div {
|
div {
|
||||||
width: "100%",
|
width: "100%",
|
||||||
height: "100%",
|
height: "100%",
|
||||||
|
@ -173,6 +174,7 @@ fn mouse_enter() {
|
||||||
modifiers: KeyModifiers::NONE,
|
modifiers: KeyModifiers::NONE,
|
||||||
}));
|
}));
|
||||||
cx.render(rsx! {
|
cx.render(rsx! {
|
||||||
|
#[dxfmt::skip]
|
||||||
div {
|
div {
|
||||||
width: "50%",
|
width: "50%",
|
||||||
height: "50%",
|
height: "50%",
|
||||||
|
@ -212,6 +214,7 @@ fn mouse_exit() {
|
||||||
modifiers: KeyModifiers::NONE,
|
modifiers: KeyModifiers::NONE,
|
||||||
}));
|
}));
|
||||||
cx.render(rsx! {
|
cx.render(rsx! {
|
||||||
|
#[dxfmt::skip]
|
||||||
div {
|
div {
|
||||||
width: "50%",
|
width: "50%",
|
||||||
height: "50%",
|
height: "50%",
|
||||||
|
@ -251,6 +254,7 @@ fn mouse_move() {
|
||||||
modifiers: KeyModifiers::NONE,
|
modifiers: KeyModifiers::NONE,
|
||||||
}));
|
}));
|
||||||
cx.render(rsx! {
|
cx.render(rsx! {
|
||||||
|
#[dxfmt::skip]
|
||||||
div {
|
div {
|
||||||
width: "100%",
|
width: "100%",
|
||||||
height: "100%",
|
height: "100%",
|
||||||
|
@ -330,6 +334,7 @@ fn click() {
|
||||||
modifiers: KeyModifiers::NONE,
|
modifiers: KeyModifiers::NONE,
|
||||||
}));
|
}));
|
||||||
cx.render(rsx! {
|
cx.render(rsx! {
|
||||||
|
#[dxfmt::skip]
|
||||||
div {
|
div {
|
||||||
width: "100%",
|
width: "100%",
|
||||||
height: "100%",
|
height: "100%",
|
||||||
|
@ -369,6 +374,7 @@ fn context_menu() {
|
||||||
modifiers: KeyModifiers::NONE,
|
modifiers: KeyModifiers::NONE,
|
||||||
}));
|
}));
|
||||||
cx.render(rsx! {
|
cx.render(rsx! {
|
||||||
|
#[dxfmt::skip]
|
||||||
div {
|
div {
|
||||||
width: "100%",
|
width: "100%",
|
||||||
height: "100%",
|
height: "100%",
|
||||||
|
|
Loading…
Reference in a new issue