Visual Studio code formatter

前端 未结 5 1246
情深已故
情深已故 2021-01-13 00:09

I\'m using Visual Studio 2008 for doing work in C# and JavaScript (AJAXy stuff).

Here\'s my issue -- I love Eclipse and especially the code formatted (Ctrl-Shift-F).

5条回答
  •  孤街浪徒
    2021-01-13 00:37

    Go into Tools | Options | Text Editor and edit the language specific settings to you're liking. Ctrl-K, Ctrl-D honors these settings, so you can make the code formatter working the way you want. There are a ton of options you can change (bracket positioning, spacing, indenting, etc.).

提交回复
热议问题