Created
July 14, 2025 05:39
-
-
Save alokstha1/c0e7d687abaf29107b6a94c1e6a32081 to your computer and use it in GitHub Desktop.
Basic VS Code setting for WordPress developer with PHPCS and PHPCBF installed
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
{ | |
"phpcs.enable": true, | |
"editor.fontFamily": "'Hack Nerd Font Mono', Menlo, Monaco, 'Courier New', monospace", | |
"color-highlight.languages": [ | |
"*" | |
], | |
"editor.fontSize": 14, | |
"editor.lineHeight": 25, | |
"php.validate.enable": false, | |
"terminal.integrated.defaultProfile.windows": "Git Bash", | |
"workbench.settings.editor": "json", | |
"[php]": { | |
"editor.defaultFormatter": "persoderlind.vscode-phpcbf" | |
}, | |
"phpcs.standard": "WordPress", | |
"phpcbf.enable": true, | |
"phpcbf.documentFormattingProvider": true, | |
"phpcbf.onsave": true, | |
"phpcbf.executablePath": "/Users/alokstha1/.composer/vendor/bin/phpcbf", | |
"phpcbf.standard": "WordPress", | |
"phpcbf.configSearch": true, | |
"phpcbf.debug": true, | |
"security.workspace.trust.untrustedFiles": "open", | |
// Whitespace Commando Setup. | |
"editor.renderWhitespace": "all", | |
"files.trimTrailingWhitespace": true, | |
"files.trimFinalNewlines": true, | |
"files.insertFinalNewline": true, | |
"phpcs.executablePath": "/Users/alokstha1/.composer/vendor/bin/phpcs", | |
"explorer.confirmDelete": false, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment