about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-01-13 15:59:43 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-01-13 16:13:26 +0000
commit3a27253289b4340a464206ea52534ef07e017efe (patch)
treee670e0a4041a0895214e2cef7437197f8b9a65f4
parenta3468770e3ee0b357df1c0f5ec194b0fea425da1 (diff)
downloadrust-3a27253289b4340a464206ea52534ef07e017efe.tar.gz
rust-3a27253289b4340a464206ea52534ef07e017efe.zip
Enable VSCode formatOnSave
-rw-r--r--.vscode/settings.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json
index d8650d1e387..7c8703cba50 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,4 +1,6 @@
 {
+    "editor.formatOnSave": true,
+
     // source for rustc_* is not included in the rust-src component; disable the errors about this
     "rust-analyzer.diagnostics.disabled": ["unresolved-extern-crate", "unresolved-macro-call"],
     "rust-analyzer.imports.granularity.enforce": true,