Beautifying code


#1

Is there a way to automatically open each file in folder, going recursively trought folders, and then running on it:
search and replace
html beautify
php beautify

?


#2

The answer is yes. The real question is why you want to use Atom to do it. It would be slow and cumbersome to open all of those files. You should use the htmlbeautifier command line interface (which takes a list of files) and the php-cs-fixer command line interface (which will take a folder).