Category: vscode

  • WordPress Coding Standards in VS-Code

    Install Composer and php codesniffer Clone WPCS in a global utils directory e.g. C:\utils\Set phpcs config to wpcs Check to ensure WPCS is added Install VS Code extensions: phpcs and phpcbf.phpcs extension enables linting for all “PHP files in our editor.phpcbf will try to beautify and fix our code according to the chosen coding standard. […]