Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ikappas/vscode-phpcs
PHP CodeSniffer for Visual Studio Code
https://github.com/ikappas/vscode-phpcs
Last synced: about 2 months ago
JSON representation
PHP CodeSniffer for Visual Studio Code
- Host: GitHub
- URL: https://github.com/ikappas/vscode-phpcs
- Owner: ikappas
- License: mit
- Created: 2015-11-21T09:58:12.000Z (almost 9 years ago)
- Default Branch: develop
- Last Pushed: 2023-08-16T20:34:28.000Z (about 1 year ago)
- Last Synced: 2024-05-02T12:41:19.927Z (5 months ago)
- Language: TypeScript
- Size: 483 KB
- Stars: 126
- Watchers: 6
- Forks: 56
- Open Issues: 83
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# vscode-phpcs
[![Maintainers Wanted](https://img.shields.io/badge/maintainers-wanted-red.svg)](https://github.com/pickhardt/maintainers-wanted)
[![Current Version](https://vsmarketplacebadge.apphb.com/version/ikappas.phpcs.svg)](https://marketplace.visualstudio.com/items?itemName=ikappas.phpcs)
[![Install Count](https://vsmarketplacebadge.apphb.com/installs/ikappas.phpcs.svg)](https://marketplace.visualstudio.com/items?itemName=ikappas.phpcs)
[![Open Issues](https://vsmarketplacebadge.apphb.com/rating/ikappas.phpcs.svg)](https://marketplace.visualstudio.com/items?itemName=ikappas.phpcs)Integrates [phpcs](https://github.com/squizlabs/PHP_CodeSniffer.git) into [Visual Studio Code](https://code.visualstudio.com/).
## 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
- install the [Visual Studio Code](https://code.visualstudio.com/) [npm extension](https://marketplace.visualstudio.com/items?itemName=eg2.vscode-npm-script)
- clone this repository and checkout `develop` branch
- open the cloned repository folder using [Visual Studio Code](https://code.visualstudio.com/)
- run VS Code task `npm install`## Run/Debug Development Version
To run the development version of the `phpcs` extension:
- open the cloned repository folder using [Visual Studio Code](https://code.visualstudio.com/)
- select sidebar option `Debug`
- select option `Client + Server` from the Debug drop-down menu
- press `Start Debugging` button or hit F5This 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.