add some rust plugins for vscode
This commit is contained in:
parent
2d8e28b8fe
commit
5eea03e555
@ -59,8 +59,6 @@ in
|
|||||||
vscode.ms-vscode.hexeditor
|
vscode.ms-vscode.hexeditor
|
||||||
nixpkgs.ms-vscode-remote.remote-ssh #FIX later
|
nixpkgs.ms-vscode-remote.remote-ssh #FIX later
|
||||||
vscode.pkief.material-icon-theme
|
vscode.pkief.material-icon-theme
|
||||||
nixpkgs.rust-lang.rust-analyzer
|
|
||||||
vscode.tamasfe.even-better-toml
|
|
||||||
vscode.ultram4rine.vscode-choosealicense
|
vscode.ultram4rine.vscode-choosealicense
|
||||||
# Django
|
# Django
|
||||||
nixpkgs.ms-python.python
|
nixpkgs.ms-python.python
|
||||||
@ -70,6 +68,13 @@ in
|
|||||||
vscode.thebarkman.vscode-djaneiro
|
vscode.thebarkman.vscode-djaneiro
|
||||||
# Latex
|
# Latex
|
||||||
vscode.james-yu.latex-workshop
|
vscode.james-yu.latex-workshop
|
||||||
|
# Rust
|
||||||
|
vscode.gruntfuggly.todo-tree
|
||||||
|
vscode.rust-lang.rust-analyzer
|
||||||
|
vscode.serayuzgur.crates
|
||||||
|
vscode.tamasfe.even-better-toml
|
||||||
|
vscode.usernamehw.errorlens
|
||||||
|
vscode.vadimcn.vscode-lldb
|
||||||
];
|
];
|
||||||
# mutableExtensionsDir = false;
|
# mutableExtensionsDir = false;
|
||||||
userSettings = {
|
userSettings = {
|
||||||
@ -120,6 +125,7 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
"rust-analyzer.check.command" = "clippy";
|
||||||
"search.exclude" = {
|
"search.exclude" = {
|
||||||
"**/.direnv" = true;
|
"**/.direnv" = true;
|
||||||
};
|
};
|
||||||
@ -129,6 +135,7 @@ in
|
|||||||
"terminal.integrated.fontFamily" = "FiraCode Nerd Font";
|
"terminal.integrated.fontFamily" = "FiraCode Nerd Font";
|
||||||
"terminal.integrated.fontWeight" = "500";
|
"terminal.integrated.fontWeight" = "500";
|
||||||
"terminal.integrated.profiles.linux".zsh.path = "/run/current-system/sw/bin/zsh";
|
"terminal.integrated.profiles.linux".zsh.path = "/run/current-system/sw/bin/zsh";
|
||||||
|
"todo-tree.regex.regex" = "(//|#|<!--|;|/\\*|^|^[ \\t]*(-|\\d+.))\\s*($TAGS)|todo!";
|
||||||
"update.mode" = "none";
|
"update.mode" = "none";
|
||||||
"window.menuBarVisibility" = "toggle";
|
"window.menuBarVisibility" = "toggle";
|
||||||
"workbench.colorTheme" = "Tokyo Night";
|
"workbench.colorTheme" = "Tokyo Night";
|
||||||
@ -149,6 +156,10 @@ in
|
|||||||
"editor.tabSize" = 2;
|
"editor.tabSize" = 2;
|
||||||
"editor.detectIndentation" = true;
|
"editor.detectIndentation" = true;
|
||||||
};
|
};
|
||||||
|
"[rust]" = {
|
||||||
|
"editor.defaultFormatter" = "rust-lang.rust-analyzer";
|
||||||
|
"editor.formatOnSave" = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user