VSCODIUM: Formatting, word wrap, integrated terminal font, reorder stuff around, search exclude improvemnt

This commit is contained in:
matthieu42morin 2024-05-21 02:20:27 +02:00
parent 1249ffed89
commit 8ccb4b01d7
1 changed files with 160 additions and 98 deletions

View File

@ -1,37 +1,20 @@
{ {
// === General === /*=============================================================
========================= General =========================
=============================================================*/
"workbench.commandPalette.experimental.suggestCommands": true, "workbench.commandPalette.experimental.suggestCommands": true,
"workbench.colorTheme": "Gruvbox Dark Hard",
"workbench.iconTheme": "material-icon-theme", "workbench.iconTheme": "material-icon-theme",
"workbench.cloudChanges.continueOn": "off", "workbench.cloudChanges.continueOn": "off",
"workbench.cloudChanges.autoResume": "off", "workbench.cloudChanges.autoResume": "off",
"update.mode": "start", "update.mode": "start",
//!!!! Stop Searching useless stuff and env exclude!!!! "window.menuBarVisibility": "compact",
"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,
},
// === Telemetry === /*=============================================================
======================== Telemetry ========================
=============================================================*/
"continue.telemetryEnabled": false, "continue.telemetryEnabled": false,
"workbench.productIconTheme": "material-product-icons", "workbench.productIconTheme": "material-product-icons",
"allowAnonymousTelemetry": false, "allowAnonymousTelemetry": false,
@ -42,16 +25,27 @@
"code-runner.enableAppInsights": false, "code-runner.enableAppInsights": false,
"workbench.enableExperiments": false, "workbench.enableExperiments": false,
"typescript.tsserver.experimental.enableProjectDiagnostics": false, "typescript.tsserver.experimental.enableProjectDiagnostics": false,
// <<< Telemetry >>>
// === OS and files ===
/*=============================================================
============== Terminal, search and files =================
=============================================================*/
/*-------------------------------------------------------------
------------------------ Terminal -------------------------
-------------------------------------------------------------*/
"terminal.integrated.splitCwd": "workspaceRoot", "terminal.integrated.splitCwd": "workspaceRoot",
"terminal.integrated.confirmOnKill": "always", "terminal.integrated.confirmOnKill": "always",
"terminal.integrated.copyOnSelection": true, "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.integrated.defaultProfile.linux": "bash",
"terminal.external.linuxExec": "#!/bin/bash", "terminal.external.linuxExec": "#!/bin/bash",
// === windows // windows sucks ass
"terminal.integrated.defaultProfile.windows": "Git Bash", "terminal.integrated.defaultProfile.windows": "Git Bash",
"terminal.integrated.profiles.windows": { "terminal.integrated.profiles.windows": {
"Custom Init": { "Custom Init": {
@ -66,26 +60,71 @@
"terminal.integrated.env.windows": { "terminal.integrated.env.windows": {
"CHERE_INVOKING": "1" "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.confirmDelete": false,
"explorer.confirmDragAndDrop": false, "explorer.confirmDragAndDrop": false,
// === Files /*-------------------------------------------------------------
------------------------- Files --------------------------
-------------------------------------------------------------*/
"files.defaultLanguage": "javascript", "files.defaultLanguage": "javascript",
"files.enableTrash": true, "files.enableTrash": true,
"files.insertFinalNewline": true, "files.insertFinalNewline": true,
"files.trimTrailingWhitespace": false, "files.trimTrailingWhitespace": true,
// <<< OS and files >>>
// === git ===
/*=============================================================
=========================== Git ===========================
=============================================================*/
"git.confirmSync": false, "git.confirmSync": false,
"git.allowForcePush": true, "git.allowForcePush": true,
"git.path": "D:\\Program Files (x86)\\Git\\bin\\git.exe", "git.path": "D:\\Program Files (x86)\\Git\\bin\\git.exe",
"git.autofetch": true, "git.autofetch": true,
"git.enableSmartCommit": false, "git.enableSmartCommit": false,
// <<< git >>>
// === Editor ===
/*=============================================================
========================== Editor ===========================
=============================================================*/
"editor.inlineSuggest.enabled": true, "editor.inlineSuggest.enabled": true,
"editor.wordWrap": "on",
"editor.links": true, "editor.links": true,
"editor.codeLens": true, "editor.codeLens": true,
"editor.autoIndent": "advanced", "editor.autoIndent": "advanced",
@ -98,23 +137,44 @@
"editor.unicodeHighlight.allowedCharacters": { "editor.unicodeHighlight.allowedCharacters": {
"": true "": true
}, },
// <<< Editor >>>
// === vite === /*=============================================================
========================== Langs ==========================
=============================================================*/
/*-------------------------------------------------------------
-------------------------- Vite ---------------------------
-------------------------------------------------------------*/
"vite.autoStart": false, "vite.autoStart": false,
"vite.browserType": "system", "vite.browserType": "system",
// <<< vite >>>
// === Rust ===
/*-------------------------------------------------------------
-------------------------- Rust ---------------------------
-------------------------------------------------------------*/
"rust.show_hover_context": true, "rust.show_hover_context": true,
// <<< Rust >>>
// === Golang === /*-------------------------------------------------------------
------------------------- Golang --------------------------
-------------------------------------------------------------*/
// ===
"go.useLanguageServer": true, "go.useLanguageServer": true,
"go.lintTool": "golangci-lint", "go.lintTool": "golangci-lint",
// <<< Golang >>>
// === Py ===
/*-------------------------------------------------------------
-------------------------- Nix ----------------------------
-------------------------------------------------------------*/
"nix.enableLanguageServer": true,
"nix.serverPath": "nil",
"[nix]": {
"editor.insertSpaces": true,
"editor.tabSize": 2
},
/*-------------------------------------------------------------
------------------------- Python --------------------------
-------------------------------------------------------------*/
"[python]": { "[python]": {
"editor.formatOnType": true "editor.formatOnType": true
}, },
@ -124,9 +184,11 @@
"python.experiments.optOutFrom": [ "python.experiments.optOutFrom": [
"All" "All"
], ],
// <<< Py >>>
// === JS/TS === /*-------------------------------------------------------------
----------------- Javascript / Typescript -----------------
-------------------------------------------------------------*/
"[javascript]": { "[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
}, },
@ -158,10 +220,12 @@
"javascript.inlayHints.parameterTypes.enabled": true, "javascript.inlayHints.parameterTypes.enabled": true,
"javascript.updateImportsOnFileMove.enabled": "always", "javascript.updateImportsOnFileMove.enabled": "always",
"npm.fetchOnlinePackageInfo": true, "npm.fetchOnlinePackageInfo": true,
//"typescript.server xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx //"typescript.server xx
// <<< TS >>>
// === svelte ===
/*-------------------------------------------------------------
--------------------- Svelte/Frontend ---------------------
-------------------------------------------------------------*/
"[svelte]": { "[svelte]": {
"editor.acceptSuggestionOnCommitCharacter": true, "editor.acceptSuggestionOnCommitCharacter": true,
"editor.acceptSuggestionOnEnter": "off" "editor.acceptSuggestionOnEnter": "off"
@ -169,33 +233,35 @@
"svelte.plugin.typescript.hover.enable": true, "svelte.plugin.typescript.hover.enable": true,
"svelte.plugin.typescript.enable": true, "svelte.plugin.typescript.enable": true,
"svelte.enable-ts-plugin": true, "svelte.enable-ts-plugin": true,
// <<< svelte >>> "css.hover.documentation": true,
"html.hover.documentation": true,
// === langs general ===
"[html]": { "[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
}, },
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}, /*-------------------------------------------------------------
"[json]": { ------------------------- Python --------------------------
"editor.defaultFormatter": "esbenp.prettier-vscode" -------------------------------------------------------------*/
},
"[latex]": { "[latex]": {
"editor.defaultFormatter": "esbenp.prettier-vscode", "editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnPaste": false, "editor.formatOnPaste": false,
"editor.suggestSelection": "recentlyUsedByPrefix" "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.prefillRequiredFields": true,
"terraform.experimentalFeatures.validateOnSave": true, "terraform.experimentalFeatures.validateOnSave": true,
"[ansible]": {
/*-------------------------------------------------------------
------------------------- Ansible -------------------------
-------------------------------------------------------------*/
"[ansible]": {
"editor.detectIndentation": true, "editor.detectIndentation": true,
"editor.insertSpaces": true, "editor.insertSpaces": true,
"editor.tabSize": 2, "editor.tabSize": 2,
@ -207,40 +273,36 @@
"editor.autoIndent": "advanced" "editor.autoIndent": "advanced"
}, },
"ansible.lightspeed.enabled": false, "ansible.lightspeed.enabled": false,
/*-------------------------------------------------------------
----------- Yet Another Motherfucking Language ------------
-------------------------------------------------------------*/
"yaml.hover": true, "yaml.hover": true,
"yaml.completion": true, "yaml.completion": true,
"workbench.colorTheme": "Gruvbox Dark Hard",
"nix.enableLanguageServer": true, /*-------------------------------------------------------------
"nix.serverPath": "nil", --------------------- buff JSON Momoa ---------------------
"[nix]": { -------------------------------------------------------------*/
"editor.insertSpaces": true,
"editor.tabSize": 2 "[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}, },
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
/*=============================================================
========================= Plugins ===========================
=============================================================*/
// Continue.dev
"continue.enableTabAutocomplete": true,
// Shellcheck
"shellcheck.ignorePatterns": { "shellcheck.ignorePatterns": {
"**/*.csh": true, ".env*": 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
}, },
"window.menuBarVisibility": "compact",
"continue.enableTabAutocomplete": true // Prisma
"prisma.showPrismaDataPlatformNotification": false
} }