From d077f5aa09de124bc6f62d26938eb68b6bd63b75 Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Sun, 21 Apr 2024 21:12:02 +0200 Subject: [PATCH] add vs code settings --- .gitignore | 1 - .vscode/extensions.json | 7 +++++++ .vscode/settings.json | 20 ++++++++++++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 .vscode/extensions.json create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index f70d6280..ae60ba83 100644 --- a/.gitignore +++ b/.gitignore @@ -25,5 +25,4 @@ ffpapi.1.gz /dist/ /public/ tmp/ -.vscode/ assets/playlist_template.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000..f4fb1d4f --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,7 @@ +{ + "recommendations": [ + "rust-lang.rust-analyzer", + "statiolake.vscode-rustfmt", + "tamasfe.even-better-toml", + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..766d5939 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,20 @@ +{ + "rust-analyzer.cargo.target": null, + "rust-analyzer.checkOnSave": true, + "rust-analyzer.cargo.buildScripts.overrideCommand": null, + "rust-analyzer.rustfmt.overrideCommand": null, + "rust-analyzer.inlayHints.chainingHints.enable": false, + "rust-analyzer.inlayHints.parameterHints.enable": false, + "rust-analyzer.inlayHints.typeHints.enable": false, + "rust-analyzer.diagnostics.disabled": ["unresolved-proc-macro"], + "[dockercompose]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[rust]": { + "editor.formatOnSave": true, + "editor.defaultFormatter": "statiolake.vscode-rustfmt" + }, + "[yaml]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + } +}