Skip to content

Instantly share code, notes, and snippets.

@erhaem
Last active January 26, 2025 15:16
Show Gist options
  • Select an option

  • Save erhaem/b76c1eff9267f426233035cb8fe4e150 to your computer and use it in GitHub Desktop.

Select an option

Save erhaem/b76c1eff9267f426233035cb8fe4e150 to your computer and use it in GitHub Desktop.
My VSCode settings with decluttered unnecessaries/disctractions!
{
"breadcrumbs.enabled": false,
// Window and Title Settings
"window.title": " ", // Set window title to a blank space
"window.menuBarVisibility": "compact", // Compact menu bar visibility
"window.commandCenter": false, // Disable command center
"workbench.editor.showTabs": "single", // Show only a single editor tab
"workbench.editor.tabSizing": "shrink", // Shrink tab sizes to fit
"workbench.editor.labelFormat": "short",
// Update and Telemetry Settings
"update.enableWindowsBackgroundUpdates": false, // Disable background updates on Windows
"update.showReleaseNotes": false, // Disable release notes on update
"update.mode": "none", // Disable automatic updates
"extensions.autoCheckUpdates": false, // Disable auto-checking for extension updates
"telemetry.telemetryLevel": "off", // Disable telemetry
// Editor Settings
"editor.fontSize": 13, // Set editor font size
"editor.fontFamily": "JetBrains Mono, Fira Code, Consolas, 'Courier New', monospace", // Set editor font family
"editor.fontLigatures": "'calt', 'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'zero', 'onum'", // Enable font ligatures
"editor.cursorBlinking": "phase", // Set cursor blinking style
"editor.minimap.enabled": false, // Disable minimap
"editor.glyphMargin": false, // Disable glyph margin
"editor.overviewRulerBorder": false, // Disable overview ruler border
"editor.formatOnSave": true, // Enable format on save
// File and Workspace Settings
"files.autoSave": "afterDelay", // Enable auto-save after a delay
"files.exclude": {
".gitignore": true, // Exclude .gitignore from file explorer
"**/node_modules/*/**": true // Exclude node_modules from file explorer
},
"files.watcherExclude": {
"**/.git/objects/**": true, // Exclude .git objects from file watching
"**/.git/subtree-cache/**": true, // Exclude .git subtree cache from file watching
"**/node_modules/**": true, // Exclude node_modules from file watching
"**/dist/**": true, // Exclude dist folder from file watching
"**/build/**": true // Exclude build folder from file watching
},
"search.exclude": {
"**/.git": true, // Exclude .git from search
"**/node_modules": true, // Exclude node_modules from search
"**/dist": true, // Exclude dist folder from search
"**/build": true // Exclude build folder from search
},
// Workbench and UI Settings
"workbench.startupEditor": "none", // No editor on startup
"workbench.colorTheme": "Gruvbox Dark Medium", // Set color theme
"workbench.statusBar.visible": false, // Hide status bar
"workbench.sideBar.location": "right", // Move sidebar to the right
"workbench.activityBar.location": "hidden", // Hide activity bar
"workbench.layoutControl.enabled": false, // Disable layout control
"chat.commandCenter.enabled": false, // Disable chat command center
// Language-Specific Formatting Settings
"html.autoClosingTags": true, // Enable auto-closing tags for HTML
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features", // Use built-in HTML formatter
},
"[javascript][javascriptreact][typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features" // Use built-in TypeScript formatter
},
"[json][jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features" // Use built-in JSON formatter
},
"[css][scss][less]": {
"editor.defaultFormatter": "vscode.css-language-features" // Use built-in CSS formatter
},
// Extensions Settings
"extensions.ignoreRecommendations": true // Ignore extension recommendations
}
// save at /home/user/.vscode-server/data/Machine/settings.json
{
"go.gopath": "/home/user/go",
"go.goroot": "/usr/local/go",
"go.formatTool": "goimports",
"go.toolsManagement.autoUpdate": true,
"go.vetOnSave": "package",
"[go]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.sortImports": "explicit"
},
},
"[go.mod]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.sortImports": "explicit"
},
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment