Skip to content

Instantly share code, notes, and snippets.

@ngshiheng
Created May 8, 2025 08:21
Show Gist options
  • Save ngshiheng/b1229c793b9b7120eac1bdf64f501a03 to your computer and use it in GitHub Desktop.
Save ngshiheng/b1229c793b9b7120eac1bdf64f501a03 to your computer and use it in GitHub Desktop.
VS Code Settings
{
// ===== Editor & Workbench Settings =====
"workbench.settings.editor": "json",
"extensions.ignoreRecommendations": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
// ===== Look & Feel =====
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"editor.guides.bracketPairs": true,
"workbench.colorTheme": "Catppuccin Frappé",
"workbench.iconTheme": "catppuccin-frappe",
// ===== Prettier =====
"prettier.tabWidth": 4,
"prettier.printWidth": 1024,
"prettier.trailingComma": "all",
// ===== Language Specific Settings =====
// Go
"go.formatTool": "goimports",
"[go]": {
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
"editor.defaultFormatter": "golang.go"
},
"[go.mod]": {
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
"editor.defaultFormatter": "golang.go"
},
// Python
"python.languageServer": "Pylance",
"python.analysis.typeCheckingMode": "basic",
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff"
},
// Others
"[dockerfile]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"[shellscript]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"[toml]": {
"editor.defaultFormatter": "tamasfe.even-better-toml"
},
"[makefile]": {
"editor.insertSpaces": false,
"editor.detectIndentation": false
},
// ===== File System =====
// File Watcher
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/build/**": true,
"**/dist/**": true,
"**/node_modules/**": true,
"**/venv/**": true
},
// Organizing Your Explorer
"files.exclude": {
"*.sublime-*": true,
"**/__pycache__": true,
"**/.DS_Store": true,
"**/.git": true,
"**/.pytest_cache": true,
"**/.vscode": false,
"**/node_modules": true
},
// ===== Search =====
// Search Indexing -- There is no search indexing at all. vscode uses ripgrep to provide fast search. Adding stuff to search.exclude reduces no memory at all.
"search.exclude": {
"**/.git": true,
"**/bower_components": true,
"**/build": true,
"**/dist": true,
"**/node_modules": true,
"**/vendor": true,
"**/venv": true
},
// ===== Extensions =====
// Code Spell Checker
"cSpell.enabledFileTypes": {
"*": true
},
// GitHub Copilot
"github.copilot.enable": {
"*": false,
"plaintext": false,
"markdown": false,
"scminput": false,
"go.mod": false
},
// ===== Privacy =====
// Telemetry -- Set to "off" if you don't like sharing data
"telemetry.telemetryLevel": "off"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment