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.

image

 

Deepak Verma
SDET | Visual Web Developer