Skip to content

Instantly share code, notes, and snippets.

@monteith
Created February 1, 2021 16:20
Show Gist options
  • Save monteith/473d0f2c61ae34a34152ecaeb2157311 to your computer and use it in GitHub Desktop.
Save monteith/473d0f2c61ae34a34152ecaeb2157311 to your computer and use it in GitHub Desktop.
vscode-settings
{
  // Typeface Settings
  "editor.fontFamily": "'Fira Code Retina', Menlo, Monaco, 'Courier New', monospace",
  "editor.fontSize": 16,
  "editor.fontLigatures": true,

  // Formatting
  "editor.codeActionsOnSave": {
    "source.fixAll": true
  },
  "editor.cursorSmoothCaretAnimation": true,
  "editor.detectIndentation": true,
  "editor.formatOnPaste": false,
  "editor.formatOnSave": true,
  "editor.renderWhitespace": "boundary",
  "editor.rulers": [80],
  "editor.tabSize": 2,
  "emmet.includeLanguages": {
    "erb": "html"
  },

  // Editor Features
  "editor.glyphMargin": false,
  "editor.lightbulb.enabled": false,
  "editor.lineNumbers": "on",
  "editor.minimap.enabled": false,
  "editor.smoothScrolling": true,

  // Hints & Suggestions
  "editor.acceptSuggestionOnCommitCharacter": false,
  "editor.acceptSuggestionOnEnter": "off",
  "editor.parameterHints.enabled": true,
  "editor.suggest.localityBonus": true,
  "editor.suggest.showKeywords": true,
  "editor.suggest.snippetsPreventQuickSuggestions": false,
  "editor.suggestSelection": "first",
  "editor.wordBasedSuggestions": true,
  "editor.snippetSuggestions": "top",

  // Static Analysis
  "eslint.options": {
    "env": {
      "browser": true,
      "es6": true,
      "jest/globals": true
    },
    "parserOptions": {
      "ecmaFeatures": {
        "jsx": true
      },
      "ecmaVersion": 2018,
      "sourceType": "module"
    },
    "rules": {
      "no-debugger": "off"
    }
  },
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact"
  ],
  "prettier.bracketSpacing": false,
  "prettier.jsxBracketSameLine": false,
  "prettier.printWidth": 80,
  "prettier.proseWrap": "always",
  "prettier.requireConfig": true,
  "prettier.semi": false,
  "prettier.singleQuote": true,
  "prettier.tabWidth": 2,
  "prettier.trailingComma": "all",
  "prettier.useTabs": false,
  "search.exclude": {
    "**/.build": true,
    "**/.gh-pages": true,
    "**/bower_components": true,
    "**/build": true,
    "**/coverage": true,
    "**/dist": true,
    "**/node_modules": true
  },
  "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",

  // Files & Explorer
  "explorer.confirmDragAndDrop": false,
  "explorer.openEditors.visible": 0,
  "files.exclude": {
    "USE_GITIGNORE": true
  },
  "files.associations": {
    "*.erb": "js.erb",
    "*.decorator": "ruby",
    ".zshrc": "shellscript",
    ".zshrc.pre-oh-my-zsh": "shellscript"
  },

  // File Type & Language Specific
  "javascript.suggest.paths": true,
  "javascript.updateImportsOnFileMove.enabled": "never",
  "javascript.validate.enable": false,
  "[javascript]": {
    "editor.defaultFormatter": "svipas.prettier-plus",
    "editor.suggestSelection": "recentlyUsed"
  },
  "typescript.updateImportsOnFileMove.enabled": "never",
  "typescript.suggest.paths": true,
  "[typescript]": {
    "editor.defaultFormatter": "svipas.prettier-plus",
    "editor.suggestSelection": "recentlyUsed"
  },

  "[fish]": {
    "editor.suggest.showVariables": true
  },
  "[json]": {
    "editor.defaultFormatter": "vscode.json-language-features"
  },
  "[jsonc]": {
    "editor.defaultFormatter": "svipas.prettier-plus"
  },
  "[markdown]": {
    "editor.defaultFormatter": "svipas.prettier-plus",
    "editor.tabSize": 2,
    "editor.tabCompletion": "onlySnippets",
    "editor.formatOnSave": true
  },

  // Tooling
  "npm.runSilent": true,
  "grunt.autoDetect": "off",
  "gulp.autoDetect": "off",

  // Terminal
  "terminal.integrated.cwd": "${workspaceFolder}",
  "terminal.integrated.fontFamily": "Fira Code Retina",
  "terminal.integrated.scrollback": 10000,
  "terminal.integrated.shell.linux": "/usr/bin/zsh",
  "terminal.integrated.shellArgs.osx": ["-l"],

  // Workbench
  "workbench.iconTheme": "material-icon-theme",
  "workbench.panel.defaultLocation": "right",
  "workbench.sideBar.location": "left",
  "workbench.startupEditor": "none",

  // Window
  "window.zoomLevel": 0,
  "breadcrumbs.enabled": true,

  // PLUGINS
  "comment-divider.length": 40,
  "comment-divider.mainHeaderAlign": "left",
  "comment-divider.subheaderAlign": "left",

  "gitlens.blame.dateFormat": "YYYY MM DD",
  "gitlens.insiders": true,

  "local-history.absolute": true,
  "local-history.path": "/home/montgx/.vscode/history",

  "solargraph.formatting": true,
  "spellright.documentTypes": ["markdown", "plaintext", "mdx"],
  "spellright.language": ["en"],
  "spellright.parserByClass": {
    "mdx": {
      "parser": "markdown"
    }
  },

  "sync.gist": "976095204df9aab900b3b6f9a3bf4285",

  "todo-tree.tree.showScanModeButton": false,

  "workbench.preferredHighContrastColorTheme": "Community Material Theme Darker High Contrast",
  "workbench.preferredLightColorTheme": "Fresh Material",

  "editor.lineHeight": 24,

  "editor.overviewRulerBorder": false,
  "editor.renderIndentGuides": false,
  "editor.renderLineHighlight": "none",
  "editor.roundedSelection": false,
  "workbench.editor.tabSizing": "fit",
  "window.title": "${appName}",

  "window.titleBarStyle": "custom",
  "workbench.colorTheme": "1984 - Fancy",

  "material-icon-theme.folders.color": "#6688cc",
  "ruby.intellisense": "rubyLocate",
  "gitlens.mode.active": "review",
  "todo-tree.general.tags": ["XXX", "TODO", "HACK", "FIXME", "BUG", "Cleanup"],
  "gitlens.views.repositories.files.layout": "list",
  "[javascriptreact]": {
    "editor.defaultFormatter": "svipas.prettier-plus"
  },
  "[html]": {
    "editor.defaultFormatter": "vscode.html-language-features"
  },
  "markdown.extension.print.theme": "dark",
  "eslint.packageManager": "yarn",
  "workbench.list.multiSelectModifier": "alt",
  "terminal.integrated.macOptionClickForcesSelection": true,
  "diffEditor.ignoreTrimWhitespace": true,
  "eslint.codeActionsOnSave.mode": "problems",
  "eslint.quiet": true,
  "python.languageServer": "Microsoft",
  "python.insidersChannel": "weekly",
  "python.venvPath": "~/.virtualenvs",
  "python.defaultInterpreterPath": "/usr/bin/python3",
  "python.formatting.provider": "black",
  "editor.maxTokenizationLineLength": 100000,
  "prettier.eslintIntegration": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment