-
-
Save tsega/1e41ce1b04ce02ee8c1d640184690dec to your computer and use it in GitHub Desktop.
Visual Studio Code user settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"breadcrumbs.enabled": true, | |
"css.validate": true, | |
"diffEditor.ignoreTrimWhitespace": false, | |
"editor.tabSize": 2, | |
"editor.autoIndent": "full", | |
"editor.insertSpaces": true, | |
"editor.formatOnPaste": true, | |
"editor.formatOnSave": false, | |
"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", | |
"*.profile": "php", | |
"*.tpl.php": "php", | |
"*.test": "php", | |
"*.php": "php", | |
"*.info": "ini" | |
}, | |
/* files.exclude and files.watcherExclude settings via | |
https://github.com/microsoft/vscode/issues/11963#issuecomment-317830768 */ | |
"files.exclude": { | |
"**/.git": true, | |
"**/.svn": true, | |
"**/.hg": true, | |
"**/CVS": true, | |
"**/.DS_Store": true, | |
"**/tmp": true, | |
"**/node_modules": true, | |
"**/bower_components": true, | |
"**/dist": true | |
}, | |
"files.watcherExclude": { | |
"**/.git/objects/**": true, | |
"**/.git/subtree-cache/**": true, | |
"**/node_modules/**": true, | |
"**/tmp/**": true, | |
"**/bower_components/**": true, | |
"**/dist/**": true | |
}, | |
"files.trimTrailingWhitespace": true, | |
"files.restoreUndoStack": false, | |
"files.insertFinalNewline": true, | |
"files.trimFinalNewlines": true, | |
"html.format.enable": true, | |
"html.format.wrapLineLength": 80, | |
"telemetry.telemetryLevel": "off", | |
/* PHP Linting */ | |
"php.validate.enable": true, | |
// Overridden by workspace settings. | |
"php.validate.executablePath": "/opt/homebrew/bin/php", | |
"php.validate.run": "onType", | |
"[php]": { | |
"editor.defaultFormatter": "valeryanm.vscode-phpsab" | |
}, | |
/* PHP DocBlocker */ | |
"php-docblocker.gap": true, | |
"php-docblocker.useShortNames": true, | |
/* PHP Intelephense */ | |
// This turns off basic PHP suggestions provided by Visual Studio Code (in lieu of Intelephense's). | |
"php.suggest.basic": false, | |
// Intelephense and Drupal >8 only. This should be set to the path to web/index.php. | |
"intelephense.environment.documentRoot": "web/core/index.php", | |
// Intelephense only: For Drupal compliant braces formatting use: | |
"intelephense.format.braces": "k&r", | |
/* Drupal Smart Snippets */ | |
// Use this to prioritize Drupal Smart Snippets in the UI. | |
"editor.snippetSuggestions": "top" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment