Let's say I have a JavaScript in someRandomFile.js and I want to run a command like:
formatMyCode someRandomFile.js
Then inside the file it just indent everything in a nice way.
I want to do format PHP or HTML too. In VIM you can highlight some text and press = and it'll automagically format it (even if it is mixed HTML/PHP/JavaScript). Is there an easy way to do it?