From 8ccb4b01d76ffe5abaae03d1d3374a3c700fcac1 Mon Sep 17 00:00:00 2001 From: matthieu42morin Date: Tue, 21 May 2024 02:20:27 +0200 Subject: [PATCH] VSCODIUM: Formatting, word wrap, integrated terminal font, reorder stuff around, search exclude improvemnt --- vscodium/settings.json | 258 +++++++++++++++++++++++++---------------- 1 file changed, 160 insertions(+), 98 deletions(-) diff --git a/vscodium/settings.json b/vscodium/settings.json index 88df52e..6d0fee7 100644 --- a/vscodium/settings.json +++ b/vscodium/settings.json @@ -1,37 +1,20 @@ { - // === General === + /*============================================================= + ========================= General ========================= + =============================================================*/ "workbench.commandPalette.experimental.suggestCommands": true, + "workbench.colorTheme": "Gruvbox Dark Hard", "workbench.iconTheme": "material-icon-theme", "workbench.cloudChanges.continueOn": "off", "workbench.cloudChanges.autoResume": "off", + "update.mode": "start", - //!!!! Stop Searching useless stuff and env exclude!!!! - "search.exclude": { - "**/*.git*": true, - "**/*.esl*": true, - "**/*.env*/**": true, - "**/*LICENSE": true, - "**/*COPYING": true, - "**/node_modules*/**": true, - "**/*package.json":true, - "**/*package-lock.json":true, - "**/*yarn.lock":true, - "**/*yarn-error.log":true, - "**/*tsconfig.json":true, - "**/*tslint.json":true, - "**/*pnpm-lock.yaml":true, - "**/*README*": true, - "**/bower_components*/**": true, - "**/*.code-search": true, - "**/*dist": true, - "**/*build": true, - "**/*out": true, - "**/*tmp": true, - "**/*temp": true, - "**/*cache": true, - }, + "window.menuBarVisibility": "compact", - // === Telemetry === + /*============================================================= + ======================== Telemetry ======================== + =============================================================*/ + "continue.telemetryEnabled": false, "workbench.productIconTheme": "material-product-icons", "allowAnonymousTelemetry": false, @@ -42,16 +25,27 @@ "code-runner.enableAppInsights": false, "workbench.enableExperiments": false, "typescript.tsserver.experimental.enableProjectDiagnostics": false, - // <<< Telemetry >>> - // === OS and files === + + /*============================================================= + ============== Terminal, search and files ================= + =============================================================*/ + + + /*------------------------------------------------------------- + ------------------------ Terminal ------------------------- + -------------------------------------------------------------*/ "terminal.integrated.splitCwd": "workspaceRoot", "terminal.integrated.confirmOnKill": "always", "terminal.integrated.copyOnSelection": true, - // === Linux + "terminal.integrated.fontSize": 14, + "terminal.integrated.fontWeight": "400", + "terminal.integrated.fontWeightBold": "600", + "terminal.integrated.lineHeight": 1.2, + // Linux "terminal.integrated.defaultProfile.linux": "bash", "terminal.external.linuxExec": "#!/bin/bash", - // === windows + // windows sucks ass "terminal.integrated.defaultProfile.windows": "Git Bash", "terminal.integrated.profiles.windows": { "Custom Init": { @@ -66,26 +60,71 @@ "terminal.integrated.env.windows": { "CHERE_INVOKING": "1" }, - // === Explorer + /*------------------------------------------------------------- + ------------------------- Search -------------------------- + -------------------------------------------------------------*/ + + //! Stop Searching useless stuff and exclude in global search! + "search.exclude": { + "**/.git": true, + "**/.esl": true, + "**/.hg": true, + "**/.sass-cache": true, + "**/.svn": true, + "**/.terraform": true, + "**/*.tfplan": true, + "**/CVS": true, + "**/*.env*/**": true, + "**/LICENSE": true, + "**/COPYING": true, + "**/node_modules*/**": true, + "**/package.json":true, + "**/package-lock.json":true, + "**/yarn.lock":true, + "**/yarn-error.log":true, + "**/tsconfig.json":true, + "**/tslint.json":true, + "**/pnpm-lock.yaml":true, + "**/README*": true, + "**/bower_components*/**": true, + "**/*.code-search": true, + "**/dist": true, + "**/build": true, + "**/out": true, + "**/tmp": true, + "**/temp": true, + "**/cache": true, + "_site": true + }, + /*------------------------------------------------------------- + ------------------------- Explorer ------------------------ + -------------------------------------------------------------*/ "explorer.confirmDelete": false, "explorer.confirmDragAndDrop": false, - // === Files + /*------------------------------------------------------------- + ------------------------- Files -------------------------- + -------------------------------------------------------------*/ "files.defaultLanguage": "javascript", "files.enableTrash": true, "files.insertFinalNewline": true, - "files.trimTrailingWhitespace": false, - // <<< OS and files >>> + "files.trimTrailingWhitespace": true, - // === git === + + /*============================================================= + =========================== Git =========================== + =============================================================*/ "git.confirmSync": false, "git.allowForcePush": true, "git.path": "D:\\Program Files (x86)\\Git\\bin\\git.exe", "git.autofetch": true, "git.enableSmartCommit": false, - // <<< git >>> - // === Editor === + + /*============================================================= + ========================== Editor =========================== + =============================================================*/ "editor.inlineSuggest.enabled": true, + "editor.wordWrap": "on", "editor.links": true, "editor.codeLens": true, "editor.autoIndent": "advanced", @@ -98,23 +137,44 @@ "editor.unicodeHighlight.allowedCharacters": { "‘": true }, - // <<< Editor >>> - // === vite === + /*============================================================= + ========================== Langs ========================== + =============================================================*/ + + /*------------------------------------------------------------- + -------------------------- Vite --------------------------- + -------------------------------------------------------------*/ "vite.autoStart": false, "vite.browserType": "system", - // <<< vite >>> - // === Rust === + + /*------------------------------------------------------------- + -------------------------- Rust --------------------------- + -------------------------------------------------------------*/ "rust.show_hover_context": true, - // <<< Rust >>> - // === Golang === + /*------------------------------------------------------------- + ------------------------- Golang -------------------------- + -------------------------------------------------------------*/ + // === "go.useLanguageServer": true, "go.lintTool": "golangci-lint", - // <<< Golang >>> - // === Py === + + /*------------------------------------------------------------- + -------------------------- Nix ---------------------------- + -------------------------------------------------------------*/ + "nix.enableLanguageServer": true, + "nix.serverPath": "nil", + "[nix]": { + "editor.insertSpaces": true, + "editor.tabSize": 2 + }, + + /*------------------------------------------------------------- + ------------------------- Python -------------------------- + -------------------------------------------------------------*/ "[python]": { "editor.formatOnType": true }, @@ -124,9 +184,11 @@ "python.experiments.optOutFrom": [ "All" ], - // <<< Py >>> + - // === JS/TS === + /*------------------------------------------------------------- + ----------------- Javascript / Typescript ----------------- + -------------------------------------------------------------*/ "[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, @@ -158,10 +220,12 @@ "javascript.inlayHints.parameterTypes.enabled": true, "javascript.updateImportsOnFileMove.enabled": "always", "npm.fetchOnlinePackageInfo": true, - //"typescript.server xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - // <<< TS >>> + //"typescript.server xx - // === svelte === + + /*------------------------------------------------------------- + --------------------- Svelte/Frontend --------------------- + -------------------------------------------------------------*/ "[svelte]": { "editor.acceptSuggestionOnCommitCharacter": true, "editor.acceptSuggestionOnEnter": "off" @@ -169,33 +233,35 @@ "svelte.plugin.typescript.hover.enable": true, "svelte.plugin.typescript.enable": true, "svelte.enable-ts-plugin": true, - // <<< svelte >>> - - // === langs general === + "css.hover.documentation": true, + "html.hover.documentation": true, "[html]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, - "[jsonc]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - "[json]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, + + + /*------------------------------------------------------------- + ------------------------- Python -------------------------- + -------------------------------------------------------------*/ "[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 >>> - // === IaC, Devops === + + /*------------------------------------------------------------- + ------------------------ Terraform ------------------------ + -------------------------------------------------------------*/ + "terraform.experimentalFeatures.prefillRequiredFields": true, "terraform.experimentalFeatures.validateOnSave": true, - "[ansible]": { + + /*------------------------------------------------------------- + ------------------------- Ansible ------------------------- + -------------------------------------------------------------*/ + + "[ansible]": { "editor.detectIndentation": true, "editor.insertSpaces": true, "editor.tabSize": 2, @@ -207,40 +273,36 @@ "editor.autoIndent": "advanced" }, "ansible.lightspeed.enabled": false, + + /*------------------------------------------------------------- + ----------- Yet Another Motherfucking Language ------------ + -------------------------------------------------------------*/ "yaml.hover": true, "yaml.completion": true, - "workbench.colorTheme": "Gruvbox Dark Hard", - "nix.enableLanguageServer": true, - "nix.serverPath": "nil", - "[nix]": { - "editor.insertSpaces": true, - "editor.tabSize": 2 + + /*------------------------------------------------------------- + --------------------- buff JSON Momoa --------------------- + -------------------------------------------------------------*/ + + "[jsonc]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" }, + "[json]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + + /*============================================================= + ========================= Plugins =========================== + =============================================================*/ + // Continue.dev + "continue.enableTabAutocomplete": true, + + // Shellcheck "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 + ".env*": true }, - "window.menuBarVisibility": "compact", - "continue.enableTabAutocomplete": true + + // Prisma + "prisma.showPrismaDataPlatformNotification": false + }