Skip to content

Instantly share code, notes, and snippets.

@danielroe
Last active November 16, 2024 15:21
Show Gist options
  • Save danielroe/5ea82608dc680fe6c0179240803437ab to your computer and use it in GitHub Desktop.
Save danielroe/5ea82608dc680fe6c0179240803437ab to your computer and use it in GitHub Desktop.
VScode settings for a minimal UI
{
// Disable telemetry
"telemetry.telemetryLevel": "off",
// Zen mode
"zenMode.fullScreen": false,
"zenMode.hideTabs": true,
"zenMode.centerLayout": false,
// Theming
"workbench.iconTheme": "city-lights-icons-vsc",
"editor.fontFamily": "Dank Mono",
"editor.fontLigatures": true,
"terminal.integrated.fontFamily": "Dank Mono",
"window.autoDetectColorScheme": true,
"workbench.colorTheme": "Palenight Operator",
"workbench.preferredLightColorTheme": "Tomorrow Operator Mono",
"workbench.preferredDarkColorTheme": "Palenight Operator",
"editor.codeLensFontSize": 13,
"editor.fontSize": 15,
"editor.lineHeight": 1.75,
"editor.suggestFontSize": 15,
"editor.suggestLineHeight": 28,
"terminal.integrated.fontSize": 12,
"terminal.integrated.lineHeight": 1,
"debug.console.fontSize": 10,
// More minimal UI
"window.zoomLevel": 1,
"workbench.activityBar.location": "hidden",
"editor.minimap.enabled": false,
"editor.glyphMargin": false,
"editor.folding": false,
"editor.lineNumbers": "off",
"workbench.sideBar.location": "right",
"workbench.editor.showTabs": "multiple",
"workbench.editor.pinnedTabSizing": "compact",
"workbench.editor.tabSizing": "shrink",
"workbench.welcomePage.walkthroughs.openOnInstall": false,
"breadcrumbs.enabled": false,
"workbench.startupEditor": "newUntitledFile",
"editor.lightbulb.enabled": "off",
"editor.overviewRulerBorder": false,
"editor.renderLineHighlight": "line",
"editor.renderControlCharacters": false,
"editor.gotoLocation.multipleReferences": "goto",
"editor.gotoLocation.multipleDefinitions": "goto",
"editor.gotoLocation.multipleDeclarations": "goto",
"workbench.editor.enablePreviewFromQuickOpen": false,
"editor.gotoLocation.multipleImplementations": "goto",
"editor.gotoLocation.multipleTypeDefinitions": "goto",
"volar.icon.splitEditors": false,
// Theme-specific UI
"diffEditor.renderSideBySide": false,
"editor.copyWithSyntaxHighlighting": false,
"editor.snippetSuggestions": "bottom",
"editor.tabSize": 2,
"editor.detectIndentation": true,
"editor.multiCursorModifier": "ctrlCmd",
"files.insertFinalNewline": true,
"window.nativeFullScreen": true,
"window.newWindowDimensions": "inherit",
"workbench.editor.enablePreview": false,
"workbench.editor.highlightModifiedTabs": true,
"workbench.editor.tabCloseButton": "off",
// Search
"search.smartCase": true,
"search.useIgnoreFiles": false,
"search.exclude": {
"**/vendor/*": true,
"**/public/*": true,
"**/node_modules": true,
"**/dist": true,
"**/package-lock.json": true,
"**/yarn.lock": true,
},
// Code
// Include "-" in word selection.
"editor.wordSeparators": "`~!@#%^&*()=+[{]}\\|;:'\",.<>/?",
"editor.cursorBlinking": "smooth",
"editor.cursorSmoothCaretAnimation": "on",
"editor.wordWrap": "on",
"editor.tabCompletion": "on",
"explorer.openEditors.visible": 1,
// Files to display
"files.enableTrash": false,
"files.exclude": {
".cache-loader/": true,
".gitattributes": true,
".gitkeep": true,
".travis.yml": true,
".vercel": true,
".vscode/": true,
"coverage": true,
"acf-json": true,
"backend/vendor": true,
"CODE_OF_CONDUCT.md": true,
"config": false,
"LICENSE.md": true,
"package-lock.json": true,
"phpcs.xml": true,
// For more minimal option
".editorconfig": true,
"prettier.config.js": true,
"**/README.md": true,
"yarn.lock": true,
"node_modules/": true,
".gitignore": true,
".output/node_modules/": false,
// And even more ultra minimal
".nuxt": true,
".output": true,
"package.json": true,
"tsconfig.json": true,
},
"window.title": "",
// "git.decorations.enabled": false,
// "scm.diffDecorationsGutterVisibility": "hover",
// "scm.diffDecorations": "none",
"files.watcherExclude": {
"**/.output/**": true,
"**/.yarn/**": true,
"**/node_modules/**": true,
"backend/vendor/**": true
},
"editor.semanticHighlighting.enabled": true,
"editor.linkedEditing": true,
"editor.bracketPairColorization.enabled": true,
// Suggestions
"editor.inlineSuggest.enabled": true,
"editor.acceptSuggestionOnEnter": "smart",
"editor.quickSuggestions": {
"strings": true
},
"editor.suggestSelection": "first",
"editor.suggest.showWords": false,
"emmet.showAbbreviationSuggestions": false,
"javascript.preferences.importModuleSpecifier": "non-relative",
"typescript.preferences.importModuleSpecifier": "non-relative",
"typescript.suggest.completeFunctionCalls": true,
"editor.guides.indentation": false,
"editor.unicodeHighlight.ambiguousCharacters": false,
"editor.unicodeHighlight.invisibleCharacters": false,
}
@sherlockmac
Copy link

There is a warning with the "explorer.openEditors.visible": 0, setting

Use "explorer.openEditors.visible": 1 instead.

@kedniko
Copy link

kedniko commented Mar 4, 2024

Some settings are now invalid and should be changed
"workbench.activityBar.visible": false -> "workbench.activityBar.location": "hidden"
"workbench.editor.showTabs": true -> "workbench.editor.showTabs": "multiple"
"editor.lightbulb.enabled": false -> "editor.lightbulb.enabled": "off"
"explorer.openEditors.visible": 0 -> "explorer.openEditors.visible": 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment