Split 'Format code' into 'Code style linting' with existing extention and 'Format code' with PHP CS Fixer extension. Added demo png for former and demo gif for latter.

pull/252/head
Matthew Welke 2018-01-12 01:58:50 -05:00
parent a83faf1658
commit 8ac942ad07
3 changed files with 8 additions and 1 deletions

View File

@ -40,9 +40,16 @@ I recommend to disable VS Code's built-in PHP IntelliSense by setting `php.sugge
### Column-accurate error reporting
![Error reporting demo](images/publishDiagnostics.png)
### Format code
### Code style linting
Please use a dedicated extension like [PHP CodeSniffer](https://marketplace.visualstudio.com/items?itemName=ikappas.phpcs).
[Code style linting demo](images/phpcs.png)
### Format code
Please use a dedicated extension like [PHP CS Fixer](https://marketplace.visualstudio.com/items?itemName=junstyle.php-cs-fixer).
[Format code demo](images/phpcsfixer.gif)
## Todo
- Rename

BIN
images/phpcs.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
images/phpcsfixer.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB