Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/higoka/php-cs-fixer
Integrates PHP-CS-Fixer into Visual Studio Code.
https://github.com/higoka/php-cs-fixer
php-cs-fixer visual-studio-code vscode vscode-extension
Last synced: 5 days ago
JSON representation
Integrates PHP-CS-Fixer into Visual Studio Code.
- Host: GitHub
- URL: https://github.com/higoka/php-cs-fixer
- Owner: higoka
- License: mit
- Created: 2019-06-18T22:11:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-10T19:30:34.000Z (about 4 years ago)
- Last Synced: 2024-10-30T18:13:38.915Z (about 2 months ago)
- Topics: php-cs-fixer, visual-studio-code, vscode, vscode-extension
- Language: JavaScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=higoka.php-cs-fixer
- Size: 3.2 MB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP-CS-Fixer
Integrates PHP-CS-Fixer into Visual Studio Code.
#### Yet another PHP-CS-Fixer extension?
I tested many other extensions but they did not work for me or are outdated, still using the first version of php-cs-fixer. So i decided to make my own that fit my needs. Very minmal, nothing special just what i like.
## Preview
Just by saving your file PHP-CS-Fixer takes care of the code formatting for you.
![preview](preview.gif)
## Requirement
* php-cs-fixer
For more information please visit: https://cs.symfony.com/
## Configuration
* `php-cs-fixer.executable`: Path to php-cs-fixer executable.
* `php-cs-fixer.configFile`: Path to php-cs-fixer config.
* `php-cs-fixer.pathMode`: Set "--path-mode" parameter.
* `php-cs-fixer.onSave`: Execute command on save.
* `php-cs-fixer.allowRisky`: Allow risky rules.**NOTE**: You may need to reload to Visual Studio Code when changing any configuration to take effect.
## Error Handling
If an error occurs you can check the Developer Tools Console to get more information.
## License
MIT