Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fterrag/vscode-php-cs-fixer
Support for php-cs-fixer in Visual Studio Code
https://github.com/fterrag/vscode-php-cs-fixer
php php-cs-fixer vscode vscode-extension
Last synced: 7 days ago
JSON representation
Support for php-cs-fixer in Visual Studio Code
- Host: GitHub
- URL: https://github.com/fterrag/vscode-php-cs-fixer
- Owner: fterrag
- License: mit
- Archived: true
- Created: 2017-11-16T02:43:09.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-08-18T14:20:10.000Z (about 2 years ago)
- Last Synced: 2024-08-02T16:44:59.857Z (3 months ago)
- Topics: php, php-cs-fixer, vscode, vscode-extension
- Language: JavaScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=fterrag.vscode-php-cs-fixer
- Size: 1.43 MB
- Stars: 11
- Watchers: 2
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# vscode-php-cs-fixer
This project has moved to https://github.com/danielzzz/vscode-php-cs-fixer
***
This extension adds support for running `php-cs-fixer fix` on PHP files in Visual Studio Code.
![demo](demo.gif)
## Getting Started
As long as PHP 5.6+ is installed on your system and in your PATH, the extension should work out of the box.
If you don't want to use the `php-cs-fixer` that's included with the extension, set the `vscode-php-cs-fixer.toolPath` setting to the path of `php-cs-fixer`.
## Extension Settings
This extension contributes the following settings:
* `vscode-php-cs-fixer.toolPath`: The path to the php-cs-fixer tool (default: "")
* `vscode-php-cs-fixer.useCache`: Use a cache file when fixing files (--using-cache) (default: false)
* `vscode-php-cs-fixer.allowRisky`: Determines whether risky rules are allowed (--allow-risky) (default: false)
* `vscode-php-cs-fixer.config`: Path to a .php_cs file (--config) (default: "")
* `vscode-php-cs-fixer.rules`: Rules to use when fixing files (--rules) (default: "@PSR1,@PSR2,@Symfony,-yoda_style")
* `vscode-php-cs-fixer.fixOnSave`: Runs fix command on save (default: true)