Re: Auto format javascript

2013-07-18 Thread Pranav Saxena
Awesome . Yeah it's an awesome auto-formatting tool , which I have used in the past !!:) On Thu, Jul 18, 2013 at 6:41 PM, Ian Duffy wrote: > Should be able to format them all at once using the node module of it > Will install it and submit a patch over the next few minutes. > > Using someth

Re: Auto format javascript

2013-07-18 Thread Ian Duffy
Should be able to format them all at once using the node module of it Will install it and submit a patch over the next few minutes. Using something like http://editorconfig.org/ to keep styling the same for html/css/js based stuff might not be a bad idea. That site you recommended has a subli

Re: Auto format javascript

2013-07-18 Thread Pranav Saxena
+1 . I was thinking of proposing this thing too . JS code is a little messed up probably due to different editor settings being used in different environments by different people . One tool which I have used is http://jsbeautifier.org/ . But somebody would have to make the effort to manually copy

Auto format javascript

2013-07-18 Thread Ian Duffy
Hi, Anybody have suggestions for automatically formatting javascript? Just going through some of the UI stuff and noticed the indentation is a bit all over the place. Thanks, Ian