adrianoneres
7/31/2019 - 6:02 PM

Visual Studio Code configuration file

Visual Studio Code configuration file

{
  // Tema
  "workbench.colorTheme": "Dracula",

  // Terminal integrado
  "terminal.integrated.fontSize": 12,
  "terminal.integrated.shell.osx": "/bin/zsh",

  // Tamanho e família de fonte
  "editor.fontFamily": "FiraCode-Retina",
  "editor.fontSize": 12,
  "editor.fontLigatures": true,

  // Detalhes visuais e formatações do editor
  "window.zoomLevel": 0,

  "breadcrumbs.enabled": true,

  "editor.formatOnPaste": false,
  "editor.formatOnSave": false,
  "editor.formatOnType": false,
  "editor.renderLineHighlight": "gutter",
  "editor.rulers": [80, 120],
  "editor.parameterHints.enabled": false,
  "editor.suggestSelection": "first",
  "editor.tabSize": 2,
  "editor.wordBasedSuggestions": false,
  "editor.wordWrap": "wordWrapColumn",
  "editor.wordWrapColumn": 120, 

  "explorer.confirmDragAndDrop": false,
  "explorer.confirmDelete": false,
  
  "extensions.ignoreRecommendations": false,
  
  "workbench.iconTheme": "material-icon-theme",
  "workbench.startupEditor": "newUntitledFile",

  // Extensões ignoradas na barra lateral
  "files.exclude": {
    "**/.classpath": true,
    "**/.project": true,
    "**/.settings": true,
    "**/.factorypath": true
  },
  
  // Java
  "java.home": "/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home",
  "java.codeGeneration.hashCodeEquals.useInstanceof": true,
  "rsp-ui.enableStartServerOnActivation": [
    {
      "id": "redhat.vscode-server-connector",
      "name": "Red Hat RSP Server",
      "startOnActivation": true
    }
  ],

  // JavaScript
  "javascript.updateImportsOnFileMove.enabled": "never",
  
  // TypeScript
  "typescript.updateImportsOnFileMove.enabled": "never",
  "typescript.tsserver.log": "verbose",

  // JSON
  "[json]": {
    "editor.defaultFormatter": "vscode.json-language-features"
  },

  // Markdown
  "[markdown]": {
    "editor.wordWrap": "wordWrapColumn",
    "editor.wordWrapColumn": 80,
  },
  
  // ESLint
  "eslint.autoFixOnSave": true,
  "eslint.validate": [
    {
      "language": "javascript",
      "autoFix": true
    },
    {
      "language": "javascriptreact",
      "autoFix": true
    },
    {
      "language": "typescript",
      "autoFix": true
    },
    {
      "language": "typescriptreact",
      "autoFix": true
    }
  ],

  "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",

  // Emmet
  "emmet.syntaxProfiles": {
    "javascript": "jsx",
    "nunjucks": "html"
  },

  "emmet.includeLanguages": {
    "javascript": "javascriptreact",
    "nunjucks": "html"
  },

  // GitLens
  "gitlens.codeLens.recentChange.enabled": false,
  "gitlens.codeLens.authors.enabled": false,
  "gitlens.codeLens.enabled": false,
  "git.enableSmartCommit": true,  
}