Skip to content

Instantly share code, notes, and snippets.

@heitoralthmann
Last active October 31, 2018 20:09
Show Gist options
  • Save heitoralthmann/6e1b12ddcc06f8c942688e16c7a0dbb9 to your computer and use it in GitHub Desktop.
Save heitoralthmann/6e1b12ddcc06f8c942688e16c7a0dbb9 to your computer and use it in GitHub Desktop.
My VSCode settings for Drupal development
{
"breadcrumbs.enabled": false,
"css.validate": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.tabSize": 2,
"editor.autoIndent": true,
"editor.insertSpaces": true,
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.renderWhitespace": "boundary",
"editor.wordWrapColumn": 80,
"editor.wordWrap": "off",
"editor.detectIndentation": true,
"editor.rulers": [80],
"files.associations": {
"*.inc": "php",
"*.module": "php",
"*.install": "php",
"*.theme": "php",
"*.tpl.php": "php",
"*.test": "php",
"*.php": "php",
"*.html": "twig"
},
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"html.format.enable": true,
"html.format.wrapLineLength": 80,
"telemetry.enableTelemetry": false,
/* Empty Indent */
"emptyIndent.removeIndent": true,
"emptyIndent.highlightIndent": false,
"emptyIndent.highlightColor": "rgba(246,36,89,0.6)",
/* Ignore some D8 paths */
"phpcs.ignorePatterns": [
"sites/default/files/*",
"vendor/*",
"core/themes/*",
"core/tests/*",
"core/scripts/*",
"core/profiles/*",
"core/misc/*",
"core/assets/vendor/*",
"themes/*",
"sites/*"
],
"phpcs.autoConfigSearch": false,
"phpcs.standard": "~/.composer/vendor/drupal/coder/coder_sniffer/Drupal,~/.composer/vendor/drupal/coder/coder_sniffer/DrupalPractice",
"php.validate.enable": true,
"php.validate.executablePath": "/usr/local/bin/php",
"php.validate.run": "onType",
"php.suggest.basic": false,
"php-docblocker.author": {
"name": "Heitor Althmann",
"email": "heitoralthmann@gmail.com"
},
"php-docblocker.useShortNames": true,
"twig-language-2.tabSize": 2,
"emmet.includeLanguages": {
"twig": "html"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment