SHARE
TWEET

visual studio code phpcs

a guest Apr 22nd, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.     "breadcrumbs.enabled": true,
  3.     "css.validate": true,
  4.     "diffEditor.ignoreTrimWhitespace": false,
  5.     "editor.tabSize": 2,
  6.     "editor.autoIndent": false,
  7.     "editor.insertSpaces": true,
  8.     "editor.formatOnPaste": false,
  9.     "editor.formatOnSave": false,
  10.     "editor.renderWhitespace": "boundary",
  11.     "editor.wordWrapColumn": 80,
  12.     "editor.wordWrap": "off",
  13.     "editor.detectIndentation": true,
  14.     "editor.rulers": [
  15.         80
  16.     ],
  17.     "files.associations": {
  18.         "*.inc": "php",
  19.         "*.module": "php",
  20.         "*.install": "php",
  21.         "*.theme": "php",
  22.         "*.tpl.php": "php",
  23.         "*.test": "php",
  24.         "*.php": "php",
  25.         "*.html": "twig",
  26.         "*.js": "javascript",
  27.     },
  28.     "files.trimTrailingWhitespace": true,
  29.     "files.insertFinalNewline": true,
  30.     "html.format.enable": true,
  31.     "html.format.wrapLineLength": 80,
  32.     "telemetry.enableTelemetry": false,
  33.     /* php dir*/
  34.     "php.validate.enable": true,
  35.     "php.validate.executablePath": "C:\\PHP7\\php.exe",
  36.     "php.validate.run": "onType",
  37.     "php.suggest.basic": false,
  38.     "php.executablePath": "C:\\PHP7\\php.exe",
  39.     /* php docblocks*/
  40.     "php-docblocker.gap": true,
  41.     "php-docblocker.useShortNames": true,
  42.     /* phpcs drupal*/
  43.     "phpcs.enable": true,
  44.     "phpcs.extensions": "php,module,inc,install,test,profile,theme",
  45.     "phpcs.standard": "C:\\Users\\user-pc\\AppData\\Roaming\\Composer\\vendor\\drupal\\coder\\coder_sniffer\\Drupal",
  46.     "phpcs.executablePath": "C:\\Users\\user-pc\\AppData\\Roaming\\Composer\\vendor\\bin\\phpcs.bat",
  47.     /* composer*/
  48.     "composer.enabled": true,
  49.     "composer.executablePath": "C:\\ProgramData\\ComposerSetup\\bin\\composer.bat",
  50.     "emmet.includeLanguages": {
  51.         "twig": "html"
  52.     },
  53.     /* Empty Indent */
  54.     "emptyIndent.removeIndent": true,
  55.     "emptyIndent.highlightIndent": false,
  56.     "emptyIndent.highlightColor": "rgba(246,36,89,0.6)",
  57.     /* Crane php intellisense */
  58.     "crane.showStatusBarBugReportLink": false,
  59.     /* Ignore some D8 paths */
  60.     "crane.ignoredPaths": [
  61.         "sites/default/files/*",
  62.         "vendor/*",
  63.         "core/themes/*",
  64.         "core/tests/*",
  65.         "core/scripts/*",
  66.         "core/profiles/*",
  67.         "core/misc/*",
  68.         "core/assets/vendor/*",
  69.         "themes/*",
  70.         "sites/*"
  71.     ],
  72.     "window.zoomLevel": 0
  73. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top