views:

639

answers:

3

Hey there, I'm looking so long for a Dreamweaver extension to Auto Beautify php / js / jQuery code. Currently dreameaver can beautify only HTML and CSS (Apply Source Formatting)..

any kind of help will be much appreciated..

Thanks Adnan

A: 

Maybe try http://www.javascriptlint.com/ says it works on some IDEs, maybe DW is one of them.

Try googling, but use 'code format' not 'beautify'

jakenoble
A: 

It's been a while since I have used DW, I use Aptana now and there is an option to format the code from one of the drop down menus. Just use something like "control a" (To select all your code), "control f" (To format your code). There might be another key combination but I think this will work if memory serves.

Maybe "esc control f"

Phill Pafford
A: 

I've not seen anything for Dreamweaver, but if you can copy ans paste the code, http://jsbeautifier.org/ can help you with making code look a good bit better. I've just tried it on some packed JavaScript and it worked out very well. You can also download the application and run it locally (it's only HTML and JavaScript), so you won't need an internet connection to get your code prettier.

Danilo Celic