Skip to content

Instantly share code, notes, and snippets.

@maccevedor
Last active March 27, 2020 16:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maccevedor/0bd4daceb374dc6948783d7f30181653 to your computer and use it in GitHub Desktop.
Save maccevedor/0bd4daceb374dc6948783d7f30181653 to your computer and use it in GitHub Desktop.
Drupal phpcs Visual code
{
"workbench.startupEditor": "newUntitledFile",
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
// "php.validate.executablePath": "D:\\WinNMP\\bin\\PHP\\64bit-php-7.3\\php.exe",
// "php.validate.run": "onType",
"window.zoomLevel": 1,
"debug.toolBarLocation": "docked",
"docker.attachShellCommand.linuxContainer": "bash",
"workbench.colorTheme": "Shape",
"workbench.iconTheme": "material-icon-theme",
"editor.wordWrap": "on",
"editor.minimap.enabled": false,
//"files.autoSave": "afterDelay"
"editor.multiCursorModifier": "ctrlCmd",
"workbench.editor.enablePreviewFromQuickOpen": false,
"workbench.colorCustomizations": {
"window.activeBorder": "#295c8a",
"activityBar.activeBackground": "#df0506"
},
"terminal.integrated.rightClickBehavior": "paste",
"docker.containers.label": "Status",
"debug.enableAllHovers": true,
"debug.inlineValues": true,
"debug.showBreakpointsInOverviewRuler": true,
"phpcs.enable": true,
"phpcs.showSources": true, //See line
//"composer.executablePath": "C:\\ProgramData\\ComposerSetup\\bin\\composer.bat",
"phpcs.standard": "Drupal,DrupalPractice",
"editor.lineNumbers": "off",
"css.validate": true,
"diffEditor.ignoreTrimWhitespace": false,
//Drupal
"editor.tabSize": 2,
"editor.autoIndent": true,
"editor.insertSpaces": true,
"editor.formatOnPaste": true,
"editor.formatOnSave": false,
"editor.renderWhitespace": "boundary",
"editor.wordWrapColumn": 80,
"editor.detectIndentation": true,
"editor.rulers": [
80
],
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"html.format.enable": true,
"html.format.wrapLineLength": 80,
"telemetry.enableTelemetry": false,
"emptyIndent.removeIndent": true,
"emptyIndent.highlightIndent": false,
"emptyIndent.highlightColor": "rgba(246,36,89,0.6)",
"[php]": {
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment