Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: VS Code settings #768

Merged
merged 4 commits into from
Feb 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
.idea
.vscode/*
# For team-wide VS Code configuration, like code-coverage extensions and previews
!.vscode/settings.json
!.vscode/settings.default.json
# Recommended extensions for VS Code
!.vscode/extensions.json

Expand Down
32 changes: 32 additions & 0 deletions .vscode/settings.default.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"files.trimTrailingWhitespace": true,
"rust-analyzer.rustfmt.extraArgs": [
"+nightly"
],
"rust-analyzer.check.workspace": false,
"coverage-gutters.coverageBaseDir": "coverage",
"coverage-gutters.coverageFileNames": [
"pallet-storage-provider/lcov.info",
"pallet-market/lcov.info",
"mater/lcov.info"
],
// Use a separate target directory for rust-analyzer
"rust-analyzer.cargo.targetDir": true,
// Rust-analyzer doesn't need to build the wasm binary
"rust-analyzer.cargo.extraEnv": {
"SKIP_WASM_BUILD": "true"
}
// Recommended when developing benchmarks
/*
"rust-analyzer.cargo.features": [
"runtime-benchmarks"
],
"rust-analyzer.procMacro.ignored": {
"frame_benchmarking": {
"v2::benchmarks": true,
"benchmarks": true,
"benchmark": true
}
},
*/
}
11 changes: 0 additions & 11 deletions .vscode/settings.json

This file was deleted.