add vs code settings

This commit is contained in:
jb-alvarado 2024-04-21 21:12:02 +02:00
parent e3d989dac0
commit d077f5aa09
3 changed files with 27 additions and 1 deletions

1
.gitignore vendored
View File

@ -25,5 +25,4 @@ ffpapi.1.gz
/dist/
/public/
tmp/
.vscode/
assets/playlist_template.json

7
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,7 @@
{
"recommendations": [
"rust-lang.rust-analyzer",
"statiolake.vscode-rustfmt",
"tamasfe.even-better-toml",
]
}

20
.vscode/settings.json vendored Normal file
View File

@ -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"
}
}