PHP CodeSniffer for Visual Studio Code
Clone or download
Latest commit 5ec0314 Mar 2, 2018

README.md

vscode-phpcs

Maintainers Wanted Current Version Install Count Open Issues

Integrates phpcs into Visual Studio Code.

Looking for additional maintainers

Due to current work obligations, I am unable to commit enough time to steadily maintain this project, so I am looking for co-maintainers that are familiar with node.js, typescript and vscode plugin authoring.

If you want to help maintain this project, please contact me.

Setup Development Version

Run/Debug Development Version

To run the development version of the phpcs extension:

  • open the cloned repository folder using Visual Studio Code
  • select sidebar option Debug
  • select option Client + Server from the Debug drop-down menu
  • press Start Debugging button or hit F5

This will launch a new VS Code window named Extension Development Host, automatically using the development version of the phpcs extension.

If you don't have an open php file on your Extension Development Host the server debug session will timeout and you will need to relaunch it from the debug panel.