-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from 21CSM/15-ide-settings
chore: add development tools
- Loading branch information
Showing
4 changed files
with
85 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"files.watcherExclude": { | ||
"**/.direnv/**": true, | ||
"**/result/**": true, | ||
"**/result-*/**": true, | ||
"**/target/**": true | ||
}, | ||
"editor.formatOnSave": true, | ||
"editor.rulers": [ | ||
100 | ||
], | ||
"files.trimTrailingWhitespace": true, | ||
"files.insertFinalNewline": true, | ||
// Rust-specific settings | ||
"[rust]": { | ||
"editor.defaultFormatter": "rust-lang.rust-analyzer", | ||
"editor.formatOnSave": true, | ||
"editor.inlayHints.enabled": "on" | ||
}, | ||
"rust-analyzer.linkedProjects": [ | ||
"./src-tauri/Cargo.toml" | ||
], | ||
"rust-analyzer.cargo.features": "all", | ||
"rust-analyzer.check.command": "clippy", | ||
"rust-analyzer.inlayHints.chainingHints.enable": true, | ||
"rust-analyzer.inlayHints.typeHints.enable": true, | ||
"rust-analyzer.diagnostics.experimental.enable": true, | ||
"rust-analyzer.rustfmt.extraArgs": [ | ||
"--config", | ||
"max_width=100" | ||
], | ||
// Nix-specific settings | ||
"nix.enableLanguageServer": true, | ||
"nix.serverPath": "nixd", | ||
"nix.formatterPath": "nixpkgs-fmt", | ||
"[nix]": { | ||
"editor.defaultFormatter": "jnoortheen.nix-ide", | ||
"editor.formatOnSave": true | ||
}, | ||
// General settings | ||
"editor.minimap.enabled": false, | ||
"editor.bracketPairColorization.enabled": true, | ||
"editor.guides.bracketPairs": "active", | ||
"files.autoSave": "afterDelay", | ||
"files.autoSaveDelay": 1000 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
final: prev: let | ||
cargo-tauri = prev.callPackage ./cargo-tauri.nix {}; | ||
in { | ||
final: prev: | ||
let | ||
cargo-tauri = prev.callPackage ./cargo-tauri.nix { }; | ||
in | ||
{ | ||
inherit cargo-tauri; | ||
} | ||
} |