Skip to content

Instantly share code, notes, and snippets.

@nodgear
Forked from euaaron/settings.json
Last active January 22, 2024 11:20
Show Gist options
  • Select an option

  • Save nodgear/19ff1d2cecea2751307de97bc3e84913 to your computer and use it in GitHub Desktop.

Select an option

Save nodgear/19ff1d2cecea2751307de97bc3e84913 to your computer and use it in GitHub Desktop.
Compact VS Code - settings.json
{
"apc.electron": {
"titleBarStyle": "hidden",
"trafficLightPosition": {
"x": 11,
"y": 10
},
"frame": false
},
"apc.activityBar": {
"position": "bottom",
"hideSettings": true,
"size": 48,
"itemMargin": 8,
"itemSize": 32
},
"apc.header": {
"height": 36
},
"apc.listRow": {
"height": 24
},
"apc.stylesheet": {
// Titlebar related style
".window-appicon": "display: none !important;",
".split-view-container .split-view-view:first-child": "height: 4px !important;",
// Tab Related style
"div.title.tabs": "height: 29px !important;",
"div.title.tabs > div": "height: 100% !important;",
"div.title.tabs > div > div": "height: 100% !important;",
"div.title.tabs > div > div div[role=tab]": "height: 29px !important; padding: 0 4px !important;",
"div.title.tabs > div > div div[role=tab] > div": "height: 100% !important; font-size: 12px !important; padding: 0 !important; background: transparent !important;",
"div.title.tabs > div > div div[role=tab] > div.file-icon::before": "padding: 0 !important; height: 100% !important;",
"div.title.tabs > div > div div[role=tab] > div.file-icon": "padding: 0 !important; height: 100% !important;",
"div.title.tabs > div > div div[role=tab] > div > .monaco-icon-label-container": "height: 100% !important; min-width: fit-content !important; padding: 0 4px; display: flex !important; align-items: center !important; justify-content: center !important;",
// Sidebar related style
"div.composite.title > .title-label > h2": "max-width: 4rem; text-overflow: ellipsis;",
"div.composite.title > .title-actions": "display: none !important;",
".split-view-view:last-child .pane-body": "padding: 12px 8px;",
".split-view-view:nth-child(3) .split-view-container .split-view-view:first-child": "height: 100vh !important;",
".split-view-view:nth-child(3)": "position: absolute !important; top: 0 !important; left: 0; bottom: 0 !important; height: 100% !important",
".part.sidebar.right": "position: absolute !important; top: 0 !important; right: 0 !important; bottom: 0 !important; width: 100% !important;",
".monaco-list-row": "border-radius: 4px;",
".monaco-workbench .monaco-list:not(.element-focused):focus:before": "display: none;",
// Activitybar related style
".part.editor > .content": "height: 100vh !important;",
".monaco-scrollable-element .split-view-container .split-view-view:nth-child(2)": "bottom: 0 !important; top: inherit !important;",
".part.basepanel.left": "position: absolute !important; top: 0 !important; left: 0 !important; bottom: 0 !important; width: 100% !important;",
// Terminal related style
".terminal-wrapper > div": "display: flex !important; flex-direction: column !important; height: 100% !important;",
".terminal-wrapper > div > .terminal": "height: 100% !important;",
// Editor related style
".editor-container": "height: 100% !important",
".editor-container > .editor-instance": "height: 100% !important;",
".editor-container > .editor-instance > .monaco-editor": "height: 100% !important;",
".editor-container > .editor-instance > .monaco-editor > .overflow-guard": "height: 100% !important;",
".editor-container > .editor-instance > .monaco-editor > .overflow-guard > div:nth-child(2)": "height: 100% !important;"
},
"breadcrumbs.enabled": false,
"editor.fontLigatures": true,
"editor.fontFamily": "FiraMono NF, Consolas",
"editor.fontSize": 14,
"editor.inlineSuggest.enabled": true,
"editor.lineHeight": 1.5,
"editor.minimap.enabled": false,
"editor.parameterHints.enabled": false,
"editor.renderLineHighlight": "gutter",
"editor.rulers": [
80,
120
],
"editor.semanticHighlighting.enabled": false,
"editor.scrollbar.horizontal": "hidden",
"editor.scrollbar.vertical": "hidden",
"editor.suggestSelection": "first",
"editor.tabSize": 2,
"explorer.compactFolders": false,
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
"package.json": ".eslint*, prettier*, tsconfig*, vite*, pnpm-lock*, bun.lockb, nest*",
"tailwind.config.js": "tailwind.config*, postcss.config*",
".env.local": ".env*",
".env": ".env*"
},
"explorer.sortOrder": "foldersNestsFiles",
"files.associations": {
".env.*": "dotenv",
".prettierrc": "json",
"*.css": "css"
},
"files.exclude": {
"**\/CVS": true,
"**\/.DS_Store": true,
"**\/.hg": true,
"**\/.svn": true,
"**\/.git": true,
".vscode": true,
"node_modules": true
},
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"symbols.hidesExplorerArrows": false,
"terminal.integrated.gpuAcceleration": "off",
"window.commandCenter": false,
"window.zoomLevel": 1,
"window.titleBarStyle": "custom",
"window.menuBarVisibility": "toggle",
"workbench.editor.labelFormat": "short",
"workbench.editor.empty.hint": "hidden",
"workbench.iconTheme": "symbols",
"workbench.layoutControl.enabled": false,
"workbench.sideBar.location": "right",
"workbench.statusBar.visible": false,
// "workbench.activityBar.location": "hidden",
"workbench.colorTheme": "MonoDracula"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment