Is there any way to change Visual Studio Auto formatting options? Like VS by default uses close bracket format for Javascripts.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Tools -> Options -> Text Editor -> JavaScript
回答2:
For Visual Studio 2013:
Tools -> Options -> Text Editor -> JavaScript
There you can can change formatting options for JavaScript.
For open brace on new line for function:
Tools -> Options -> Text Editor -> JavaScript -> Formatting -> New Lines