+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 the js files , auto-format them and then re-copy them back and then everyone who contributes to js code should follow the "auto-format Covention".
On Thu, Jul 18, 2013 at 6:13 PM, Ian Duffy <i...@ianduffy.ie> wrote: > 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 >