How to change Visual Studio Auto Format

后端 未结 2 1868
天命终不由人
天命终不由人 2021-01-03 18:24

Is there any way to change Visual Studio Auto formatting options? Like VS by default uses close bracket format for Javascripts.

相关标签:
2条回答
  • 2021-01-03 18:49

    For Visual Studio 2013:

    Tools -> Options -> Text Editor -> JavaScript 
    

    enter image description here

    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
    
    0 讨论(0)
  • 2021-01-03 18:51

    Tools -> Options -> Text Editor -> JavaScript

    0 讨论(0)
提交回复
热议问题