Skip to content

Instantly share code, notes, and snippets.

@patricks-js
Created August 7, 2024 22:49
Show Gist options
  • Save patricks-js/c60db001e38b6c1f17ca42e9f4daad8e to your computer and use it in GitHub Desktop.
Save patricks-js/c60db001e38b6c1f17ca42e9f4daad8e to your computer and use it in GitHub Desktop.

Revisions

  1. patricks-js created this gist Aug 7, 2024.
    162 changes: 162 additions & 0 deletions settings.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,162 @@
    {
    // Editor
    "editor.fontSize": 14,
    "editor.lineHeight": 1.8,
    "editor.rulers": [
    80,
    120
    ],
    "editor.parameterHints.enabled": false,
    "editor.renderLineHighlight": "gutter",
    "editor.fontLigatures": true,
    "editor.accessibilitySupport": "off",
    "editor.semanticHighlighting.enabled": false,
    "editor.tabSize": 2,
    "editor.acceptSuggestionOnCommitCharacter": false,
    "editor.hideCursorInOverviewRuler": true,
    "editor.minimap.enabled": false,
    "editor.scrollbar.horizontal": "hidden",
    "editor.fontFamily": "JetBrainsMono Nerd Font",
    "editor.fontWeight": "500",
    "editor.fastScrollSensitivity": 5,
    "editor.smoothScrolling": true,
    "editor.cursorBlinking": "expand",
    "editor.cursorSmoothCaretAnimation": "on",
    "editor.wordWrap": "on",
    "editor.formatOnSave": true,
    "editor.guides.indentation": false,
    "editor.stickyScroll.enabled": true,
    "editor.unicodeHighlight.allowedLocales": {
    "pt-BR": true
    },
    // Terminal
    "terminal.integrated.showExitAlert": false,
    "terminal.integrated.fontSize": 14,
    "terminal.integrated.fontFamily": "JetBrainsMono Nerd Font",
    "terminal.integrated.defaultProfile.linux": "fish",
    // Workbench
    "workbench.startupEditor": "newUntitledFile",
    "workbench.editor.labelFormat": "short",
    "workbench.productIconTheme": "fluent-icons",
    "workbench.statusBar.visible": false,
    "workbench.editor.empty.hint": "hidden",
    "workbench.editor.showTabs": "multiple",
    "workbench.sideBar.location": "right",
    "workbench.colorTheme": "Min Dark",
    "workbench.iconTheme": "symbols",
    // Window
    "window.titleBarStyle": "custom",
    // Explorer
    "explorer.confirmDelete": false,
    "explorer.confirmDragAndDrop": false,
    "explorer.compactFolders": false,
    // Extensions
    "extensions.ignoreRecommendations": true,
    "gitlens.codeLens.recentChange.enabled": false,
    "gitlens.codeLens.authors.enabled": false,
    "git.enableSmartCommit": true,
    "[prisma]": {
    "editor.formatOnSave": true
    },
    "console-ninja.featureSet": "Community",
    // TypeScript
    "typescript.tsserver.log": "off",
    "typescript.updateImportsOnFileMove.enabled": "always",
    "typescript.suggest.autoImports": true,
    // JavaScript
    "javascript.suggest.autoImports": true,
    "javascript.updateImportsOnFileMove.enabled": "always",
    // Tailwind
    "tailwindCSS.includeLanguages": {
    "plaintext": "html"
    },
    "tailwindCSS.emmetCompletions": true,
    "tailwindCSS.colorDecorators": true,
    "tailwindCSS.validate": true,
    "tailwindCSS.experimental.classRegex": [
    [
    "tv\\(([^)]*)\\)",
    "[\"'`]([^\"'`]*).*?[\"'`]"
    ]
    ],
    // Code spell checker
    "cSpell.language": "en,pt",
    "cSpell.enableFiletypes": [
    "!c",
    "!go",
    "!java",
    "!rust",
    "csharp",
    "prisma"
    ],
    "cSpell.userWords": [
    "autofetch",
    "lefthook",
    "postgres",
    "stylesheet",
    "tailwindcss",
    "usecases"
    ],
    // Security
    "security.workspace.trust.untrustedFiles": "newWindow",
    // Git
    "git.openRepositoryInParentFolders": "always",
    "git.autofetch": true,
    "git.confirmSync": false,
    "git.ignoreMissingGitWarning": true,
    // Symbols
    "symbols.hidesExplorerArrows": false,
    "symbols.files.associations": {
    "*.module.ts": "nest",
    "*.controller.ts": "nest-controller",
    "*.service.ts": "nest-service",
    "*.guard.ts": "typescript",
    "*.spec.ts": "ts-test",
    "*.e2e-spec.ts": "ts-test",
    "vitest.config.e2e.ts": "vite",
    ".env.example": "gear",
    ".env.docker": "gear",
    ".env.development": "gear"
    },
    "symbols.folders.associations": {
    "usecases": "folder-modules",
    "plugins": "folder-modules",
    "application": "folder-app",
    "shared": "folder-context",
    "entities": "folder-red",
    "test": "folder-sky-code",
    "lib": "folder-green",
    "controllers": "folder-yellow-code",
    "presentation": "folder-layout",
    "errors": "folder-app",
    "http": "folder-gray-outline",
    "web": "folder-blue"
    },
    // Emmet
    "emmet.includeLanguages": {
    "javascript": "javascriptreact"
    },
    "emmet.syntaxProfiles": {
    "javascript": "jsx"
    },
    // Update
    "update.mode": "start",
    "update.showReleaseNotes": false,
    // Others
    "breadcrumbs.enabled": false,
    "files.associations": {
    ".env.*": "dotenv",
    ".prettierrc": "json",
    "*.css": "css"
    },
    "files.exclude": {
    "**/.DS_Store": true,
    "**/.git": true,
    "**/.hg": true,
    "**/.svn": true,
    "**/CVS": true
    },
    "terminal.integrated.env.linux": {},
    "terminal.integrated.env.windows": {},
    "redhat.telemetry.enabled": false
    }