Skip to content

Instantly share code, notes, and snippets.

@LuisPalacios
Last active January 30, 2026 14:44
Show Gist options
  • Select an option

  • Save LuisPalacios/c8e9e041217f811e49591392fcc7e28e to your computer and use it in GitHub Desktop.

Select an option

Save LuisPalacios/c8e9e041217f811e49591392fcc7e28e to your computer and use it in GitHub Desktop.
Ejemplo VSCode settings global de usuario
{
// --- 1. CONFIGURACIÓN GLOBAL Y EDITOR ---
"editor.wordWrap": "on",
"editor.formatOnSave": true,
"editor.formatOnPaste": false,
"editor.formatOnType": false,
"editor.inlineSuggest.enabled": true,
// --- 2. MANEJO DE ARCHIVOS Y LIMPIEZA ---
"files.eol": "\n",
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true, // Sustituye nativamente a la extensión trailing-spaces
"files.associations": {
"*.json": "jsonc",
"**/layouts/**/*.json": "hugo"
},
"files.exclude": {
"**/.DS_Store": true,
"**/node_modules": true,
"**/.git": true,
"**/.hugo_build.lock": true,
"**/public/**": true,
"**/resources/**": true,
"**/build/**": false // He puesto false por si quieres ver la carpeta build de CMake
},
// --- 3. STACK C++ / LLVM (Tus reglas de oro) ---
"C_Cpp.intelliSenseEngine": "disabled",
"C_Cpp.formatting": "disabled",
"cmake.exportCompileCommandsFile": true, // Vital para que Clangd funcione
"cmake.configureOnOpen": true,
// --- 4. ASIGNACIÓN DE FORMATEADORES (El "Juez") ---
"[cpp]": {
"editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd"
},
"[c]": {
"editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd"
},
"[python]": {
"editor.defaultFormatter": "ms-python.python"
},
"[go]": {
"editor.defaultFormatter": "golang.go"
},
"[shellscript]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml"
},
"[markdown]": {
"editor.defaultFormatter": "yzhang.markdown-all-in-one"
},
// --- 5. OTROS AJUSTES DE INTERFAZ ---
"json.validate.enable": true, // Lo he vuelto a activar porque ahora Prettier/VSCode lo gestionan bien
"workbench.iconTheme": "material-icon-theme",
"explorer.confirmDelete": false,
"projectManager.sortList": "Recent"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment