vscode: Add format on save

This commit is contained in:
Florian RICHER 2024-12-11 20:43:10 +01:00
parent 11a5083513
commit d9f70caec0
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77

8
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,8 @@
{
"editor.formatOnSave": true,
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer",
},
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true
}