Visual Studio code formatter

前端 未结 5 1360
情深已故
情深已故 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条回答
  •  梦毁少年i
    2021-01-13 00:40

    go to options > environment > keyboard, find the command Edit.FormatDocument and bind that to ctrl + shift + f

    EDIT: Misread, you can configure how VS formats in options > text editor > (document type).

    don't know if you can get it exactly as how eclipse does, but that's where you set your preferences.

提交回复
热议问题