Skip to content

Instantly share code, notes, and snippets.

@lazuee
Last active January 21, 2023 12:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lazuee/94c532ed7d56bd97148528461f45c1bd to your computer and use it in GitHub Desktop.
Save lazuee/94c532ed7d56bd97148528461f45c1bd to your computer and use it in GitHub Desktop.
VSCode settings with Custom UI
{
"security.workspace.trust.enabled": false,
"search.useGlobalIgnoreFiles": false,
"search.useIgnoreFiles": false,
"search.exclude": {
"**/node_modules": true,
"**/dist": true,
"**/build": true,
"**/.next": true,
"**/.git": true,
"**/.env": true
},
"files.trimFinalNewlines": true,
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"files.saveConflictResolution": "overwriteFileOnDisk",
"files.maxMemoryForLargeFilesMB": 8000,
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 100,
"files.exclude": {
"**/node_modules": true,
"**/.next": true
},
"files.associations": {
"*.jsx": "javascriptreact",
"*.tsx": "typescriptreact",
".env.*": "dotenv",
".prettierrc": "json"
},
"git.autofetch": true,
"git.confirmSync": false,
"git.detectSubmodules": false,
"git.enableSmartCommit": true,
"git.suggestSmartCommit": false,
"git.ignoreMissingGitWarning": true,
"git.showPushSuccessNotification": true,
"window.title": " ", //${dirty}${activeEditorShort}${separator}Into the Moon πŸš€πŸŒ™",
"window.menuBarVisibility": "hidden",
"window.titleBarStyle": "custom",
"window.newWindowDimensions": "inherit",
"breadcrumbs.filePath": "last",
"workbench.startupEditor": "newUntitledFile",
"workbench.layoutControl.enabled": false,
"workbench.list.smoothScrolling": true,
"workbench.editor.wrapTabs": true,
"workbench.editor.highlightModifiedTabs": true,
"workbench.editor.untitled.labelFormat": "name",
"workbench.editor.decorations.badges": true,
"workbench.editor.enablePreview": false,
"workbench.settings.editor": "json",
"workbench.iconTheme": "nomo-dark-extended",
"workbench.colorTheme": "Min Dark",
"diffEditor.ignoreTrimWhitespace": false,
"notebook.cellFocusIndicator": "border",
"notebook.cellToolbarVisibility": "hover",
"notebook.consolidatedRunButton": true,
"notebook.showFoldingControls": "always",
"references.preferredLocation": "view",
"emmet.triggerExpansionOnTab": true,
"emmet.includeLanguages": {
"javascript": "javascriptreact",
"typescript": "typescriptreact"
},
"explorer.sortOrder": "type",
"explorer.compactFolders": false,
"explorer.autoReveal": false,
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false,
"explorer.decorations.badges": false,
"explorer.openEditors.visible": 10,
"editor.wordWrap": "wordWrapColumn",
"editor.stickyScroll.enabled": true,
"editor.largeFileOptimizations": false,
"editor.linkedEditing": true,
"editor.glyphMargin": false,
"editor.bracketPairColorization.enabled": true,
"editor.bracketPairColorization.independentColorPoolPerBracketType": true,
"editor.guides.bracketPairs": true,
"editor.guides.highlightActiveBracketPair": true,
"editor.unicodeHighlight.includeComments": true,
"editor.unicodeHighlight.nonBasicASCII": true,
"editor.overviewRulerBorder": false,
"editor.hideCursorInOverviewRuler": true,
"editor.gotoLocation.multipleDeclarations": "goto",
"editor.gotoLocation.multipleDefinitions": "goto",
"editor.gotoLocation.multipleImplementations": "goto",
"editor.gotoLocation.multipleReferences": "goto",
"editor.gotoLocation.multipleTypeDefinitions": "goto",
"editor.wordSeparators": "`~!@#%^&*()=+[{]}\\|;:'\",.<>/?",
"editor.accessibilitySupport": "off",
"editor.cursorSurroundingLines": 15,
"editor.smoothScrolling": true,
"editor.cursorStyle": "block",
"editor.cursorSmoothCaretAnimation": true,
"editor.cursorBlinking": "phase",
"editor.minimap.enabled": false,
"editor.fontFamily": "JetBrains Mono",
"editor.fontLigatures": true,
"editor.fontSize": 13,
"editor.lineHeight": 1.5,
"editor.letterSpacing": 0.5,
"debug.console.fontSize": 13,
"terminal.integrated.defaultProfile.windows": "Git Bash",
"terminal.integrated.copyOnSelection": true,
"terminal.integrated.allowChords": false,
"terminal.integrated.confirmOnExit": "always",
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.drawBoldTextInBrightColors": false,
"terminal.integrated.enableMultiLinePasteWarning": false,
"terminal.integrated.localEchoLatencyThreshold": -1,
"terminal.integrated.scrollback": 2000,
"terminal.integrated.showLinkHover": true,
"terminal.integrated.cursorStyle": "block",
"terminal.integrated.fontSize": 13,
"terminal.integrated.lineHeight": 1.5,
"terminal.integrated.fontWeight": "200",
"terminal.integrated.fontWeightBold": "400",
"terminal.integrated.fontFamily": "JetBrains Mono",
"customizeUI.font.regular": "JetBrains Mono",
"customizeUI.font.monospace": "JetBrains Mono",
"customizeUI.fontSizeMap": {
"13px": "12px",
"12px": "11px",
"window-title": "12px", // Window title font when using custom titlebar
"tab-title": "12px", // Used for editor tab titles
"monospace": "10.5px", // Used for monospace fonts in user interface
"menu": "12px" // Used for menu items (windows only)
},
"customizeUI.listRowHeight": 30, // shrink rows to match XCode
"customizeUI.activityBar": "bottom",
"customizeUI.activityBarHideSettings": false,
"customizeUI.stylesheet": {
"body": "-webkit-font-smoothing: antialiased !important; -moz-osx-font-smoothing: grayscale !important;",
// Hide app icon
".windows a.window-appicon": "visibility: hidden; width: 0px !important; height: 0px !important",
// Change cursor color
".monaco-editor .cursor": "background-color: rgba(225,225,225,0.3) !important; color: #eee !important",
".monaco-editor .lines-content .core-guide-indent-active": "box-shadow: none !important",
// Darken directory label
".monaco-icon-label.folder-icon > .monaco-icon-label-container > .monaco-icon-name-container > .label-name": "font-weight: 400 !important; filter: brightness(0.9);",
".monaco-icon-label.file-icon > .monaco-icon-label-container > .monaco-icon-name-container > .label-name": "font-weight: 600 !important; filter: brightness(0.8);",
// Remove outline when selecting
".monaco-workbench [tabindex=\"0\"]:focus, .monaco-workbench [tabindex=\"-1\"]:focus, .monaco-workbench .synthetic-focus, .monaco-workbench select:focus, .monaco-workbench .monaco-list:not(.element-focused):focus:before, .monaco-workbench input[type=\"button\"]:focus, .monaco-workbench button:focus, .monaco-list-row.focused": "outline: 0px !important",
// Make activitybar center
"body.activity-bar-at-bottom .monaco-workbench .part.activitybar .content": "justify-content: center; background: #1f1f1f !important;",
// Hide toolbar
//".monaco-toolbar": "display: none !important;",
// Hide menubar
"div.titlebar-container > div.menubar": "display: none !important;",
// Hide title actions
//".monaco-workbench .part>.composite.title>.title-actions": "display: none !important",
// Hide go back/forward
".command-center .monaco-action-bar ul li:nth-child(1), .command-center .monaco-action-bar ul li:nth-child(2)": "display: none !important;",
// etc...
".monaco-editor": "padding-left: 20px;",
// input plaaceholder
".suggest-input-container .suggest-input-placeholder": "margin-left: 20px;",
// Scrollbar
".scrollbar .slider": "visibility: hidden; border-radius: 100vw;",
".scrollbar:hover .slider": "visibility: initial;",
// Screencast
".monaco-workbench .quick-input-list .quick-input-list-entry.has-actions:hover .quick-input-list-entry-action-bar .action-label.dirty-workspace::before": "content: '/ea76';",
".monaco-workbench .screencast-mouse": "position: absolute;border: 2px solid rgba(225,225,225,0.5) !important; border-radius: 50%; z-index: 100000; content: ' '; pointer-events: none; display: none;",
".monaco-workbench .screencast-keyboard": "background-color:transparent; justify-content:flex-start; padding:1rem; display:flex; flex-direction:row; gap:1rem; position:absolute; height: max-content; width:100%; bottom:0 !important; z-index:100000; pointer-events:none; color:#242424; line-height: 1.5; text-align:center;transition: opacity 0.1s ease-out; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; box-sizing: border-box;",
".monaco-workbench .screencast-keyboard:empty": "opacity: 0;",
".monaco-workbench .screencast-keyboard > .key": "margin:0; padding: 0.5rem; width: max-content; border-radius:5px !important; background-color:rgba(225,225,225,0.8) !important; backdrop-filter:blur(1px); box-shadow: 0 21rem 87rem 0 rgba(42,44,58,.15), 11.737rem 22.074rem 32rem 0 rgba(129,165,238,.1) !important; font-size: 15px !important; font-weight: 600 !important;",
".monaco-workbench .screencast-keyboard > .title": "font-weight: 800 !important;"
},
"screencastMode.keyboardShortcutsFormat": "commandWithGroup",
"screencastMode.keyboardOverlayTimeout": 3000,
"screencastMode.onlyKeyboardShortcuts": true,
// Scrollbar
"editor.fastScrollSensitivity": 5,
"editor.scrollbar.verticalScrollbarSize": 30,
"editor.scrollbar.horizontalScrollbarSize": 14,
// Quick suggestions
"editor.tabCompletion": "on",
"editor.acceptSuggestionOnEnter": "smart",
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.suggest.localityBonus": true,
"editor.wordBasedSuggestions": true,
"editor.quickSuggestionsDelay": 10,
"editor.suggestSelection": "first",
"editor.snippetSuggestions": "bottom",
"editor.suggest.insertMode": "replace",
"editor.suggestOnTriggerCharacters": true,
"editor.renderControlCharacters": true,
"editor.parameterHints.enabled": true,
"editor.suggest.showTypeParameters": true,
"editor.suggestFontSize": 14,
"editor.suggestLineHeight": 25,
// Telemtry & Auto Updates OFF
"telemetry.telemetryLevel": "off",
"workbench.settings.enableNaturalLanguageSearch": false,
"workbench.enableExperiments": false,
"update.mode": "manual",
"update.showReleaseNotes": false,
"update.enableWindowsBackgroundUpdates": false,
"npm.fetchOnlinePackageInfo": false,
"extensions.ignoreRecommendations": false,
"extensions.autoCheckUpdates": false,
"extensions.autoUpdate": false,
// Auto imports
"typescript.suggest.autoImports": true,
"javascript.suggest.autoImports": true,
// Auto update imports when moving file
"typescript.updateImportsOnFileMove.enabled": "always",
"javascript.updateImportsOnFileMove.enabled": "always",
// Quote styles
"javascript.preferences.quoteStyle": "double",
"typescript.preferences.quoteStyle": "double",
// Enabling inlayhints in TS/JS
"editor.inlayHints.fontSize": 12,
"typescript.inlayHints.enumMemberValues.enabled": true,
"typescript.inlayHints.functionLikeReturnTypes.enabled": true,
"typescript.inlayHints.parameterTypes.enabled": true,
"typescript.inlayHints.propertyDeclarationTypes.enabled": true,
"typescript.inlayHints.parameterNames.enabled": "all",
// Prettier
"prettier.enable": true,
"prettier.useTabs": true,
"prettier.bracketSpacing": true,
"prettier.jsxSingleQuote": false,
"prettier.semi": true,
"prettier.tabWidth": 2,
"prettier.endOfLine": "lf",
"files.eol": "\n",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.formatOnPaste": true,
// Customize Discord Presence (Crawl)
"discord.swapBigAndSmallImage": true,
"discord.detailsIdling": "πŸ” Searching the Archives...",
"discord.detailsEditing": "πŸ±β€πŸ’» {file_name} at {current_line}:{current_column}",
"discord.largeImageIdling": "🌚 Code, Coffee and Skyflakes",
"discord.lowerDetailsDebugging": "πŸ”Ί {git_branch}",
"discord.lowerDetailsEditing": "πŸ“‚ {workspace}",
"discord.lowerDetailsIdling": "β˜• Coffee time!",
"discord.lowerDetailsNoWorkspaceFound": "No workspace",
"discord.smallImage": "Eyy, stalker (πŸ‘πŸ‘„πŸ‘)",
// Dotenv
"dotenv.cloakColor": "#1e1e1e",
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "keyword.other.dotenv",
"settings": {
"foreground": "#FF000000"
}
}
]
},
"gitlens.hovers.currentLine.over": "line"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment