Last active
March 3, 2024 19:41
-
-
Save ultimike/10fd51837b4e04a9809c39be0ffd969a to your computer and use it in GitHub Desktop.
Visual Studio Code user settings
This file contains 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", | |
"editor.accessibilitySupport": "off", | |
/* PHP Sniffer & Beautifier */ | |
"phpsab.snifferEnable": true, | |
"phpsab.executablePathCS": "/Users/michael/sites/drupal_coder/vendor/bin/phpcs", | |
/* See workspace settings.json for per-project in-container settings. */ | |
//"phpsab.executablePathCS": "/Users/michael/sites/pmd-2023-winter/pmd/ddev-phpcs", | |
"phpsab.fixerEnable": true, | |
"phpsab.executablePathCBF": "/Users/michael/sites/drupal_coder/vendor/bin/phpcbf", | |
"phpsab.standard": "/Users/michael/sites/drupal_coder/phpcs.xml", | |
/* See workspace settings.json for per-project in-container settings. */ | |
//"phpsab.executablePathCBF": "/Users/michael/sites/pmd-2023-winter/pmd/ddev-phpcbf", | |
//"phpsab.standard": "/Users/michael/sites/pmd-2023-winter/pmd/phpcs.xml", | |
"phpsab.snifferMode": "onType", | |
"phpsab.debug": false, | |
"phpsab.fixerArguments": [], | |
/* PHP Linting */ | |
"php.validate.enable": true, | |
"php.validate.executablePath": "/opt/homebrew/bin/php", | |
/* See workspace settings.json for per-project in-container settings. */ | |
//"php.validate.executablePath": "/Users/michael/sites/pmd-2023-winter/pmd/ddev-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/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", | |
"editor.fontSize": 14, | |
"search.followSymlinks": false, | |
"workbench.colorTheme": "Default Light+", | |
"files.trimFinalNewlines": true, | |
"window.zoomLevel": 1, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment