Last active
January 31, 2024 20:40
-
-
Save euaaron/85b5833117a90be8e33b8d1726ca78f0 to your computer and use it in GitHub Desktop.
Compact VS Code - settings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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;", | |
".part.sidebar.right": "position: absolute !important; top: 0 !important; height: 100vh;", | |
".monaco-list-row": "border-radius: 4px;", | |
".monaco-workbench .monaco-list:not(.element-focused):focus:before": "display: none;", | |
// Editor related style | |
".split-view-view:nth-child(3) .split-view-container .split-view-view:first-child": "height: 100vh !important;", | |
"div[role=application] > div > div > div > div.monaco-scrollable-element[role=presentation] > div.split-view-container > div.split-view-view:nth-child(3)": "top: 0 !important; height: 100vh !important;", | |
// 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;", | |
// Terminal related style | |
".terminal-wrapper > div": "display: flex !important; flex-direction: column !important; height: 100% !important;", | |
".terminal-wrapper > div > .terminal": "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" | |
} |
Thanks for the tip @nodgear! Just saw that this Gist wasn't updated with my latest local changes, but now it is.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider changing the editor workbench height to
100vh
instead of fixed900px
to avoid code being cut-of on bigger windows.fork: https://gist.github.com/nodgear/19ff1d2cecea2751307de97bc3e84913