You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would be quite a good feature to have.
Fixing the entire file can often generate a noisy diff :(
Since php-cs-fixer depends on a file, a possible way to do this would be for Vim to save the visual selection into a file, php-cs-fixer that newly created file and then apply those changes back onto the original file.
Thoughts?
Thanks :D
The text was updated successfully, but these errors were encountered:
Indeed, php-cs-fixer accepts stdin but does not return a stdout with fixed content. So we can't do it with the buffer. We have to do it with a temp file ...
This would be quite a good feature to have.
Fixing the entire file can often generate a noisy diff :(
Since
php-cs-fixer
depends on a file, a possible way to do this would be for Vim to save the visual selection into a file,php-cs-fixer
that newly created file and then apply those changes back onto the original file.Thoughts?
Thanks :D
The text was updated successfully, but these errors were encountered: