Skip to content

Instantly share code, notes, and snippets.

@piotrkulpinski
Created January 3, 2024 08:35
Show Gist options
  • Save piotrkulpinski/e8762a72221a1304d3c29549ae4d277d to your computer and use it in GitHub Desktop.
Save piotrkulpinski/e8762a72221a1304d3c29549ae4d277d to your computer and use it in GitHub Desktop.
VS Code Settings
{
// Window
"window.title": "${rootName}${separator}${activeEditorShort}",
"window.titleBarStyle": "custom",
"window.nativeTabs": true,
"window.commandCenter": false,
"workbench.colorTheme": "Default Dark+",
"workbench.iconTheme": "vs-tabler",
"workbench.sideBar.location": "right",
"workbench.editor.enablePreviewFromQuickOpen": true,
"workbench.tree.indent": 12,
"workbench.tree.renderIndentGuides": "none",
"workbench.editor.decorations.colors": false,
"workbench.editor.limit.enabled": true,
"workbench.editor.limit.excludeDirty": true,
"workbench.editor.tabSizing": "fit",
"workbench.editor.tabCloseButton": "off",
"workbench.editor.tabActionCloseVisibility": false,
"workbench.colorCustomizations": {
"[Default Dark+]": {
"statusBar.foreground": "#ffffff",
"statusBar.background": "#262A33",
"statusBar.border": "#2B2F39",
"statusBarItem.hoverBackground": "#2B2F39",
"activityBar.background": "#262A33",
"activityBar.border": "#2B2F39",
"terminal.background": "#1E2025",
"terminal.border": "#2B2F39",
"sideBar.background": "#21242B",
"sideBar.border": "#2B2F39",
"sideBar.foreground": "#AAA7AD",
"editor.background": "#1E2025",
"list.activeSelectionBackground": "#2B2F39",
"list.inactiveSelectionBackground": "#262A33",
"list.focusAndSelectionOutline": "#2B2F39",
"list.hoverBackground": "#262A33",
"gitDecoration.modifiedResourceForeground": "#FEE56D",
"gitDecoration.untrackedResourceForeground": "#96DF72",
"gitDecoration.deletedResourceForeground": "#D32765",
"tab.activeBackground": "#1E2025",
"tab.inactiveBackground": "#262A33",
"tab.border": "#252931",
"badge.background": "#262A33",
},
},
// Editor
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.colorDecorators": false,
"editor.cursorBlinking": "smooth",
"editor.dragAndDrop": false,
"editor.foldingImportsByDefault": true,
"editor.fontSize": 15,
"editor.fontWeight": "400",
// "editor.fontFamily": "Iosevka Fixed Extended, monospace",
// "editor.fontLigatures": "SS01",
"editor.fontFamily": "CommitMono, monospace",
"editor.fontLigatures": true,
"editor.lineHeight": 1.65,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.guides.indentation": false,
"editor.guides.bracketPairs": false,
"editor.hover.delay": 250,
"editor.inlineSuggest.enabled": true,
"editor.language.brackets": [],
"editor.lightbulb.enabled": false,
"editor.minimap.enabled": false,
"editor.minimap.renderCharacters": false,
"editor.multiCursorModifier": "ctrlCmd",
"editor.renderControlCharacters": false,
"editor.renderWhitespace": "none",
"editor.scrollBeyondLastLine": false,
"editor.snippetSuggestions": "inline",
"editor.tabSize": 2,
"editor.glyphMargin": false,
"editor.unicodeHighlight.ambiguousCharacters": false,
"editor.bracketPairColorization.enabled": false,
"editor.wrappingIndent": "indent",
"editor.scrollbar.horizontalScrollbarSize": 10,
"editor.scrollbar.verticalScrollbarSize": 10,
"editor.hideCursorInOverviewRuler": true,
"editor.accessibilitySupport": "off",
"editor.gotoLocation.multipleDefinitions": "goto",
"editor.gotoLocation.multipleTypeDefinitions": "goto",
"editor.codeActionsOnSave": [
"source.addMissingImports",
"source.removeUnusedImports",
"source.fixAll",
// "source.organizeImports",
// "quickfix.biome": "always",
// "source.organizeImports.biome": "always"
],
"editor.unicodeHighlight.allowedCharacters": {
" ": true
},
// Terminal
"terminal.explorerKind": "external",
"terminal.integrated.scrollback": 10000,
"terminal.integrated.defaultProfile.osx": "zsh",
"terminal.integrated.enablePersistentSessions": false,
// "terminal.integrated.fontFamily": "Iosevka Fixed Extended, monospace",
// "terminal.integrated.fontWeight": "400",
"terminal.integrated.fontFamily": "CommitMono, monospace",
"terminal.integrated.lineHeight": 1.4,
"terminal.integrated.profiles.osx": {
"zsh": {
"path": "/bin/zsh"
}
},
// Explorer
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"explorer.enableDragAndDrop": true,
"explorer.fileNesting.enabled": false,
"explorer.incrementalNaming": "smart",
"explorer.decorations.badges": false,
// Files
"files.dialog.defaultPath": "/Users/piotrkulpinski/Sites",
"files.autoSave": "off",
"files.associations": {
"*.css": "tailwindcss",
"*.html.erb": "erb"
},
"files.exclude": {
"**/_node_modules": true,
"**/.cache": true,
"**/.gits": true,
"**/.hugo_build.lock": true,
"**/.next": true,
"**/.nuxt": true,
"**/.svn": false,
"**/.tmp": true,
"**/.turbo": true,
"**/.vercel": true,
"**/.yo*": true
},
// Search
"search.actionsPosition": "auto",
"search.useParentIgnoreFiles": true,
// Git
"git.decorations.enabled": true,
"github.copilot.enable": {
"*": true,
"plaintext": false,
"markdown": true,
"scminput": false
},
// HTML
"html.autoClosingTags": false,
"html.format.indentInnerHtml": true,
"html.format.preserveNewLines": false,
"html.format.wrapLineLength": 0,
"html.hover.documentation": false,
"html.hover.references": false,
"http.proxySupport": "off",
// JavaScript / TypeScript
"typescript.preferences.importModuleSpecifier": "non-relative",
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"javascript.preferGoToSourceDefinition": true,
"typescript.preferGoToSourceDefinition": true,
"javascript.autoClosingTags": true,
"typescript.autoClosingTags": true,
"javascript.suggest.classMemberSnippets.enabled": false,
"typescript.suggest.classMemberSnippets.enabled": false,
"typescript.suggest.objectLiteralMethodSnippets.enabled": false,
// SCM
"scm.inputFontSize": 12,
"scm.diffDecorations": "all",
"scm.diffDecorationsGutterWidth": 3,
"scm.diffDecorationsGutterPattern": {
"modified": false
},
// Formatters
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[php]": {
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client"
},
"[prisma]": {
"editor.defaultFormatter": "Prisma.prisma"
},
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// "[typescriptreact]": {
// "editor.defaultFormatter": "biomejs.biome"
// },
// "[typescript]": {
// "editor.defaultFormatter": "biomejs.biome"
// },
// "[javascript]": {
// "editor.defaultFormatter": "biomejs.biome"
// },
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// Theme
"editor.tokenColorCustomizations": {
"[Default Dark+]": {
"comments": "#6A6B6F",
"functions": "#FEE56D",
"keywords": "#11A793",
"strings": "#F29C14",
"numbers": "#96DF72",
"variables": "#F3F3F4",
"types": "#09E7C6",
"textMateRules": [
{
"scope": [
"constant.language.symbol.hashkey",
"keyword.operator.new",
"keyword.operator.expression",
"keyword.control",
"variable.other.property",
"storage.modifier",
"support.variable",
"meta.object-literal.key",
"support.type.property-name",
"entity.name.tag.css",
"entity.other.attribute-name.pseudo-element.css",
"entity.other.attribute-name"
],
"settings": {
// Green
"foreground": "#11A793"
}
},
{
"scope": [
"variable.language.special",
"keyword.operator.logical",
"keyword.operator.assignment",
"keyword.operator.comparison",
"storage.type.function.arrow",
"variable.scss",
"constant.language.import-export-all"
],
"settings": {
// Orange
"foreground": "#F29C14"
}
},
{
"scope": [
"support.constant.property-value",
"support.constant.color.current.css",
"variable.other.constant",
"punctuation.separator",
"punctuation.definition.template-expression.begin",
"punctuation.definition.template-expression.end",
"punctuation.section.embedded",
"entity.other.attribute-name.pseudo-class.css",
"entity.name.tag"
],
"settings": {
// White
"foreground": "#F3F3F4"
}
},
{
"scope": [
"constant.language.null",
"constant.language.undefined",
"constant.language.boolean",
"constant.language.json",
"punctuation.separator.constant"
],
"settings": {
// Lime
"foreground": "#96DF72"
}
},
{
"scope": [
"entity.other.attribute-name.class.css",
"keyword.other.unit",
"constant.numeric.css",
"variable.language.relations"
],
"settings": {
// Teal
"foreground": "#09E7C6"
}
},
{
"scope": [
"punctuation.definition.tag"
],
"settings": {
// Gray
"foreground": "#AFABB1"
}
}
]
}
},
// Chat
// "chat.editor.fontFamily": "Iosevka Fixed Extended, monospace",
// "chat.editor.fontWeight": "400",
"chat.editor.fontFamily": "CommitMono, monospace",
"chat.editor.fontSize": 14,
// Others
"prettier.requireConfig": true,
"prettier.configPath": "",
"gitlens.plusFeatures.enabled": false,
"gitlens.codeLens.enabled": false,
"terminal.integrated.env.osx": {
"FIG_NEW_SESSION": "1"
},
"emmet.includeLanguages": {
"twig": "html"
},
"terminal.integrated.fontSize": 13,
"prettier.semi": false,
"breadcrumbs.icons": false,
"breadcrumbs.symbolPath": "last",
"files.insertFinalNewline": true,
"color-highlight.markerType": "dot-before",
"color-highlight.markRuler": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment