Skip to content

Instantly share code, notes, and snippets.

@orafaelfragoso
Created September 3, 2024 15:20
Show Gist options
  • Save orafaelfragoso/2d1781b52994cdf3c372a506d0ccd2c9 to your computer and use it in GitHub Desktop.
Save orafaelfragoso/2d1781b52994cdf3c372a506d0ccd2c9 to your computer and use it in GitHub Desktop.
VSCode Config
{
// General
"update.mode": "default",
"update.showReleaseNotes": false,
"breadcrumbs.enabled": false,
"security.workspace.trust.untrustedFiles": "newWindow",
"security.promptForLocalFileProtocolHandling": false,
"window.titleBarStyle": "native",
"window.commandCenter": false,
// Workbench
"workbench.startupEditor": "newUntitledFile",
"workbench.statusBar.visible": false,
"workbench.layoutControl.enabled": false,
"workbench.colorTheme": "Dracula Theme",
"workbench.activityBar.location": "hidden",
"workbench.editor.empty.hint": "hidden",
"workbench.iconTheme": "symbols",
"workbench.productIconTheme": "fluent-icons",
"workbench.editor.labelFormat": "short",
"workbench.tree.enableStickyScroll": false,
// Editor
"editor.fontSize": 15,
"editor.lineHeight": 1.8,
"editor.stickyScroll.enabled": false,
"editor.parameterHints.enabled": false,
"editor.renderLineHighlight": "gutter",
"editor.suggestSelection": "first",
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.accessibilitySupport": "off",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.sortImports": "explicit"
},
"editor.semanticHighlighting.enabled": false,
"editor.fontFamily": "JetBrains Mono",
"editor.tabSize": 2,
"editor.hideCursorInOverviewRuler": true,
"editor.minimap.enabled": false,
"editor.scrollbar.vertical": "hidden",
"editor.scrollbar.verticalScrollbarSize": 0,
"editor.scrollbar.horizontalScrollbarSize": 0,
"editor.tokenColorCustomizations": {
"textMateRules": []
},
// Explorer
"explorer.confirmDragAndDrop": false,
"explorer.compactFolders": false,
"explorer.confirmDelete": false,
"explorer.fileNesting.enabled": true,
"explorer.sortOrder": "foldersNestsFiles",
"explorer.fileNesting.patterns": {
"package.json": ".eslint*, prettier*, tsconfig*, vite*, pnpm-*, bun.lockb, nest*, package-lock*",
"tailwind.config.*": "tailwind.config*, postcss.config*",
".env.local": ".env*",
".env": ".env*"
},
// Extensions
"extensions.ignoreRecommendations": true,
// JavaScript/TypeScript/React/ESLint/Prettier/JSON
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.tsserver.log": "off",
"typescript.updateImportsOnFileMove.enabled": "always",
"typescript.suggest.autoImports": true,
"typescript.preferences.preferTypeOnlyAutoImports": true,
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
"emmet.syntaxProfiles": {
"javascript": "jsx"
},
"[prisma]": {
"editor.formatOnSave": true
},
"tailwindCSS.experimental.classRegex": [
[
"tv\\(([^)]*)\\)",
"[\"'`]([^\"'`]*).*?[\"'`]"
],
"class:\\s*?[\"'`]([^\"'`]*).*?,"
],
// Terminal
"terminal.integrated.showExitAlert": false,
"terminal.integrated.fontSize": 14,
"terminal.integrated.fontFamily": "JetBrainsMono Nerd Font",
"terminal.integrated.gpuAcceleration": "on",
"terminal.integrated.defaultProfile.osx": "zsh",
// Files
"files.associations": {
".env.*": "dotenv",
".prettierrc": "json",
"*.css": "css",
".dev.vars": "dotenv"
},
"symbols.hidesExplorerArrows": false,
"symbols.files.associations": {
"*.module.ts": "nest",
"*.guard.ts": "typescript",
"*.spec.ts": "ts-test",
"*.e2e-spec.ts": "ts-test",
"*.mock.ts": "ts-test",
"vitest.config.e2e.ts": "vite",
".env.development.local": "gear",
".env.test.local": "gear",
".env.local": "gear",
".env.example": "gear"
},
"files.exclude": {
"**\/CVS": true,
"**\/.DS_Store": true,
"**\/.hg": true,
"**\/.svn": true,
"**\/.git": true,
"**\/.turbo": true,
"**\/.next": true,
// ".vscode": true
// "node_modules": true
},
// APC Styling
"apc.activityBar": {
"position": "bottom",
"hideSettings": true,
"size": 48,
"itemMargin": 8,
"itemSize": 32
},
"apc.electron": {
"titleBarStyle": "hiddenInset",
"trafficLightPosition": {
"x": 11,
"y": 10
},
"opacity": 1,
"vibrancy": "dark",
"frame": false
},
"apc.header": {
"height": 36
},
"apc.listRow": {
"height": 24
},
"apc.font.family": "Inter",
"apc.stylesheet": {
".title-label > h2": "display: none",
".editor-actions": "display: none",
".nosidebar .inline-tabs-placeholder": "width: 75px",
".pane-header": "padding: 0 8px",
".pane-body": "padding: 8px",
".split-view-view:first-child .pane-header": "display: none !important;",
".monaco-list-row": "border-radius: 4px;",
".monaco-workbench .monaco-list:not(.element-focused):focus:before": "display: none;",
".monaco-scrollable-element>.shadow.top": "box-shadow: none;",
".monaco-scrollable-element>.scrollbar>.slider, .monaco-editor .scroll-decoration": "opacity: 0; display: none;",
".monaco-pane-view .pane>.pane-body": "border-right: 1px solid rgb(25, 26, 33);",
".monaco-workbench .part.sidebar>.title": "border-right: 1px solid rgb(25, 26, 33);",
// Command prompt
".quick-input-widget": "left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; margin: 0 !important; width: 60vw !important; max-width: 800px !important; position: fixed !important; box-shadow: none !important; border: none !important;",
".quick-input-header": "padding: 8px 8px 0 !important;",
".quick-input-widget .monaco-list": "width: 100% !important;",
".quick-input-widget .quick-input-list": "max-height: 60vh !important; margin-top: 0.5rem;",
".quick-input-widget .monaco-findInput .monaco-inputbox": "font-size: 16px; border: none !important; padding: 0.5rem 0.75rem; border-radius: 8px;",
".quick-input-inline-action-bar": "margin: 0 !important;",
".quick-input-list .monaco-scrollable-element": "padding: 0 8px !important;",
".quick-input-list .quick-input-list-entry": "font-size: 15px !important;",
".quick-input-widget .monaco-icon-label:before": "background-size: 22px !important; width: 22px !important;",
".monaco-workbench::after": "content: ''; position: fixed; top: 0; left: 0; right: 0; bottom: 0; backdrop-filter: blur(10px); z-index: 2549; opacity: 0; transition: opacity 0.1s ease-in-out; pointer-events: none;",
".monaco-workbench:has(.quick-input-widget[style]:not([style*='display: none']))::after": "opacity: 1;"
},
"vim.smartRelativeLine": true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment