🔧 (home/vscode) add some settings

This commit is contained in:
Laureηt 2024-06-15 14:39:08 +02:00
parent a725909395
commit 6f6820eb5e
Signed by: Laurent
SSH key fingerprint: SHA256:pb5NrYg80So5z9hmqQFPmp//sgr+DFeJkKhmGyU2NLk

View file

@ -21,9 +21,13 @@
usernamehw.errorlens usernamehw.errorlens
]; ];
userSettings = { userSettings = {
"editor.formatOnSave" = true;
"editor.formatOnPaste" = true;
"files.insertFinalNewline" = true;
"files.trimTrailingWhitespace" = true;
"editor.fontFamily" = "'FiraCode Nerd Font Mono', 'Noto Color Emoji'"; "editor.fontFamily" = "'FiraCode Nerd Font Mono', 'Noto Color Emoji'";
"editor.fontLigatures" = true; "editor.fontLigatures" = true;
"editor.formatOnSave" = true; "editor.rulers" = [120];
"git.autofetch" = true; "git.autofetch" = true;
"git.confirmSync" = false; "git.confirmSync" = false;
"git.enableSmartCommit" = true; "git.enableSmartCommit" = true;
@ -46,9 +50,23 @@
"julia.symbolCacheDownload" = true; "julia.symbolCacheDownload" = true;
"terminal.integrated.commandsToSkipShell" = ["language-julia.interrupt"]; "terminal.integrated.commandsToSkipShell" = ["language-julia.interrupt"];
"diffEditor.ignoreTrimWhitespace" = false; "diffEditor.ignoreTrimWhitespace" = false;
"editor.rulers" = [120];
"remote.SSH.useExecServer" = false; "remote.SSH.useExecServer" = false;
"python.analysis.typeCheckingMode" = "strict"; "python.analysis.typeCheckingMode" = "strict";
"files.exclude" = {
# defaults
"**/.git" = true;
"**/.svn" = true;
"**/.hg" = true;
"**/CVS" = true;
"**/.DS_Store" = true;
"**/Thumbs.db" = true;
# annoying
"**/__pycache__" = true;
"**/.mypy_cache" = true;
"**/.ruff_cache" = true;
"**/*.egg-info" = true;
"**/.direnv" = true;
};
}; };
}; };
} }