浏览代码

edit settings.json to disable format on save for the repo (#2572)

Jonathan Kelley 1 年之前
父节点
当前提交
d4831edcf7
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      .vscode/settings.json

+ 3 - 1
.vscode/settings.json

@@ -7,5 +7,7 @@
   "rust-analyzer.check.workspace": false,
   "rust-analyzer.check.features": "all",
   "rust-analyzer.cargo.features": "all",
-  "rust-analyzer.check.allTargets": true
+  "rust-analyzer.check.allTargets": true,
+  // we don't want the formatter to kick in while we're working on dioxus itself
+  "dioxus.formatOnSave": "disabled"
 }