Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to pass preset and single file on command line for phpStorm integration. #11

Closed
greggh opened this issue Jun 23, 2022 · 1 comment

Comments

@greggh
Copy link

greggh commented Jun 23, 2022

I would like to use this in phpStorm similar to how php-cs-fixer can be used. Currently you can pass the configuration and file to fix on the command line for php-cs-fixer, so in phpStorm you can add it as an external tool and setup a hotkey to reformat the currently open file that you are editing.

@nunomaduro
Copy link
Member

Fixed. You can now use a single file like so:

pint your-file-name.php

ablancobarreda added a commit to ablancobarreda/pint that referenced this issue Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants