Skip to content Skip to sidebar Skip to footer

How To Get Js-mode To Properly Indent Continued (compound?) Var Declarations?

If I use distinct var statements like function stretchDiv(){ var wh = $(window).height(); var sz2 = wh - ((paddingTop + paddingBottom) + (mainTop + 2) * 2); // the scr

Solution 1:

A forked version of js2-mode does exactly what you want.


Post a Comment for "How To Get Js-mode To Properly Indent Continued (compound?) Var Declarations?"