diff --git a/vscodium/settings.json b/vscodium/settings.json index 7481075..9a03d65 100644 --- a/vscodium/settings.json +++ b/vscodium/settings.json @@ -1,11 +1,12 @@ { // === General === "workbench.commandPalette.experimental.suggestCommands": true, - "workbench.colorTheme": "Mayukai Mono", "workbench.iconTheme": "material-icon-theme", "workbench.cloudChanges.continueOn": "off", "workbench.cloudChanges.autoResume": "off", "update.mode": "start", + "window.menuBarVisibility": "compact", + "workbench.colorTheme": "Gruvbox Dark Hard", // === Telemetry === "continue.telemetryEnabled": false, @@ -23,6 +24,7 @@ // === OS and files === "terminal.integrated.splitCwd": "workspaceRoot", "terminal.integrated.confirmOnKill": "always", + "terminal.integrated.copyOnSelection": true, // === Linux "terminal.integrated.defaultProfile.linux": "bash", "terminal.external.linuxExec": "#!/bin/bash", @@ -45,6 +47,7 @@ "explorer.confirmDelete": false, "explorer.confirmDragAndDrop": false, // === Files + "files.defaultLanguage": "javascript", "files.enableTrash": true, "files.insertFinalNewline": true, "files.trimTrailingWhitespace": false, @@ -99,13 +102,31 @@ "All" ], // <<< Py >>> - + // === JS/TS === + "[javascript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, "[typescript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, + "javascript.format.enable": true, + "javascript.format.semicolons": "insert", + "debug.javascript.codelens.npmScripts": "all", + "javascript.suggestionActions.enabled": true, + "debug.javascript.autoAttachSmartPattern": [ + "${workspaceFolder}/**", + "!**/node_modules/**", + "**/$KNOWN_TOOLS$/**" + ], "typescript.updateImportsOnFileMove.enabled": "always", "typescript.implementationsCodeLens.enabled": true, + "typescript.tsserver.log": "off", + "typescript.tsserver.enableTracing": false, + "typescript.format.placeOpenBraceOnNewLineForFunctions": true, + "typescript.implementationsCodeLens.showOnInterfaceMethods": true, + "typescript.tsserver.useSyntaxServer": "always", + "typescript.tsserver.maxTsServerMemory": 2048, "typescript.tsserver.web.projectWideIntellisense.enabled": true, "typescript.format.enable": true, "javascript.referencesCodeLens.enabled": false, @@ -137,9 +158,13 @@ "[json]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, - "[javascript]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" + "[latex]": { + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.formatOnPaste": false, + "editor.suggestSelection": "recentlyUsedByPrefix" }, + "latexPreview.latexFontDir": "C:/users/matthieu/AppData/Local/Programs/MiKTeX/fonts", + "latexPreview.telemetry": false, "css.hover.documentation": true, "html.hover.documentation": true, // <<< langs general >>> @@ -147,19 +172,51 @@ // === IaC, Devops === "terraform.experimentalFeatures.prefillRequiredFields": true, "terraform.experimentalFeatures.validateOnSave": true, + "[ansible]": { + "editor.detectIndentation": true, + "editor.insertSpaces": true, + "editor.tabSize": 2, + "editor.quickSuggestions": { + "comments": true, + "other": true, + "strings": true + }, + "editor.autoIndent": "advanced" + }, "ansible.lightspeed.enabled": false, "yaml.hover": true, "yaml.completion": true, // <<< IaC, Devops >>> - // === Nix === - "nix.enableLanguageServer": true, // Enable LSP. - "nix.serverPath": "nil", // The path to the LSP server executable. - // === advanced - "nix.serverSettings": { - "nil": { - "formatting": { "command": ["nixpkgs-fmt"] } - } + "nix.enableLanguageServer": true, + "nix.serverPath": "nil", + "[nix]": { + "editor.insertSpaces": true, + "editor.tabSize": 2 + }, + "shellcheck.ignorePatterns": { + "**/*.csh": true, + "**/*.cshrc": true, + "**/*.fish": true, + "**/*.login": true, + "**/*.logout": true, + "**/*.tcsh": true, + "**/*.tcshrc": true, + "**/*.xonshrc": true, + "**/*.xsh": true, + "**/*.zsh": true, + "**/*.zshrc": true, + "**/zshrc": true, + "**/*.zprofile": true, + "**/zprofile": true, + "**/*.zlogin": true, + "**/zlogin": true, + "**/*.zlogout": true, + "**/zlogout": true, + "**/*.zshenv": true, + "**/zshenv": true, + "**/*.zsh-theme": true, + "**/*.development": true, + "**/*.production": true } - // <<< Nix >>> }