Skip to content

Commit

Permalink
Update VS Code settings (#715)
Browse files Browse the repository at this point in the history
* Update VS Code settings

* Add a comment explaining why we don't run build scripts

* Add a commented out runtime helper setting
  • Loading branch information
MOZGIII authored Aug 8, 2023
1 parent 732960c commit 33498b9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
{
"editor.formatOnSave": true,
"rust-analyzer.checkOnSave.command": "clippy",
"rust-analyzer.check.command": "clippy",
"[rust]": {
"editor.rulers": [100]
},
"[toml]": {
"editor.defaultFormatter": "tamasfe.even-better-toml"
},
// This takes too long when working with substrate, as it build the whole
// runtime each time the node host code is built.
"rust-analyzer.cargo.buildScripts.enable": false,
// Uncomment this while working on runtime.
// "rust-analyzer.cargo.target": "wasm32-unknown-unknown",
// "rust-analyzer.cargo.noDefaultFeatures": true,
"vitest.commandLine": "yarn utils/e2e-tests/ts test:watch --",
"vitest.include": [
"utils/e2e-tests/ts/**/tests/**/*.ts",
Expand Down

0 comments on commit 33498b9

Please sign in to comment.