In Visual Studio, click Tools -> Options. In the Options dialog on the left pane select Text editor -> JScript -> Formatting. Check Place open brace on new line for functions. Deepak Verma SDET | Visual Web Developer...( read more )
Read More...
Read the complete post at http://blogs.iis.net/webdevelopertips/archive/2009/03/30/tip-49-did-you-know-how-to-set-the-editor-to-always-place-open-braces-on-new-line-for-functions-in-jscript.aspx