2023-12-15 15:18:36 +00:00
|
|
|
{pkgs, ...}: {
|
2023-04-08 13:53:58 +00:00
|
|
|
programs.vscode = {
|
|
|
|
enable = true;
|
2023-08-23 17:37:57 +00:00
|
|
|
package = pkgs.vscode;
|
2023-08-13 12:58:38 +00:00
|
|
|
|
2023-04-08 13:53:58 +00:00
|
|
|
extensions = with pkgs.vscode-extensions; [
|
2024-01-12 19:38:46 +00:00
|
|
|
catppuccin.catppuccin-vsc
|
|
|
|
catppuccin.catppuccin-vsc-icons
|
2023-04-08 13:53:58 +00:00
|
|
|
eamodio.gitlens
|
2023-04-19 20:09:44 +00:00
|
|
|
editorconfig.editorconfig
|
2024-01-12 19:38:46 +00:00
|
|
|
github.copilot
|
2024-01-13 13:52:25 +00:00
|
|
|
github.copilot-chat
|
2024-01-12 19:38:46 +00:00
|
|
|
github.vscode-pull-request-github
|
|
|
|
jnoortheen.nix-ide
|
|
|
|
kamadorueda.alejandra
|
|
|
|
mkhl.direnv
|
2023-04-19 20:09:44 +00:00
|
|
|
ms-vsliveshare.vsliveshare
|
2024-01-12 19:38:46 +00:00
|
|
|
seatonjiang.gitmoji-vscode
|
2023-04-19 20:09:44 +00:00
|
|
|
tamasfe.even-better-toml
|
2024-01-12 19:38:46 +00:00
|
|
|
yzhang.markdown-all-in-one
|
2024-05-25 15:01:16 +00:00
|
|
|
usernamehw.errorlens
|
2023-04-08 13:53:58 +00:00
|
|
|
];
|
|
|
|
userSettings = {
|
2024-06-15 12:39:08 +00:00
|
|
|
"editor.formatOnSave" = true;
|
|
|
|
"editor.formatOnPaste" = true;
|
|
|
|
"files.insertFinalNewline" = true;
|
|
|
|
"files.trimTrailingWhitespace" = true;
|
2023-04-08 13:53:58 +00:00
|
|
|
"editor.fontFamily" = "'FiraCode Nerd Font Mono', 'Noto Color Emoji'";
|
|
|
|
"editor.fontLigatures" = true;
|
2024-06-15 12:39:08 +00:00
|
|
|
"editor.rulers" = [120];
|
2023-04-08 13:53:58 +00:00
|
|
|
"git.autofetch" = true;
|
|
|
|
"git.confirmSync" = false;
|
|
|
|
"git.enableSmartCommit" = true;
|
2023-10-16 18:42:55 +00:00
|
|
|
"gitmoji.showEmojiCode" = true;
|
2023-12-15 15:18:36 +00:00
|
|
|
"terminal.integrated.fontFamily" = "'FiraCode Nerd Font Mono', 'Noto Color Emoji'";
|
2023-04-08 13:53:58 +00:00
|
|
|
"window.menuBarVisibility" = "toggle";
|
2024-04-05 13:40:24 +00:00
|
|
|
"window.zoomLevel" = -0.75;
|
2023-04-08 13:53:58 +00:00
|
|
|
"workbench.colorTheme" = "Catppuccin Mocha";
|
2023-10-19 14:25:11 +00:00
|
|
|
"workbench.editor.empty.hint" = "hidden";
|
2023-04-19 20:09:44 +00:00
|
|
|
"workbench.iconTheme" = "catppuccin-mocha";
|
2023-04-08 13:53:58 +00:00
|
|
|
"gitlens.telemetry.enabled" = false;
|
|
|
|
"telemetry.telemetryLevel" = "off";
|
|
|
|
"editor.inlineSuggest.enabled" = true;
|
|
|
|
"liveshare.presence" = true;
|
2023-12-15 15:18:36 +00:00
|
|
|
"github.copilot.enable" = {"markdown" = true;};
|
2024-05-25 15:01:16 +00:00
|
|
|
"github.copilot.editor.enableAutoCompletions" = true;
|
2023-05-07 21:30:38 +00:00
|
|
|
"nix.enableLanguageServer" = true;
|
|
|
|
"nix.serverPath" = "nil";
|
2023-07-01 08:52:52 +00:00
|
|
|
"julia.enableTelemetry" = false;
|
|
|
|
"julia.symbolCacheDownload" = true;
|
2023-12-15 15:18:36 +00:00
|
|
|
"terminal.integrated.commandsToSkipShell" = ["language-julia.interrupt"];
|
2024-03-31 14:17:33 +00:00
|
|
|
"diffEditor.ignoreTrimWhitespace" = false;
|
2024-04-27 13:15:39 +00:00
|
|
|
"remote.SSH.useExecServer" = false;
|
2024-05-25 15:01:16 +00:00
|
|
|
"python.analysis.typeCheckingMode" = "strict";
|
2024-06-15 12:39:08 +00:00
|
|
|
"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;
|
|
|
|
};
|
2023-04-08 13:53:58 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|