Visual Studio Format entire file?

前端 未结 8 1751
小鲜肉
小鲜肉 2021-01-31 08:58

Is there a way to issue a key command to properly format an entire file in VS2008 with CodeRush Express?

相关标签:
8条回答
  • 2021-01-31 09:23

    Use Ctrl+K+Ctrl+D to format document keystroke

    Use Ctrl+K+Ctrl+F to format selection keystroke

    It's also possible to set your own keystrokes by opening Options... dialog (select Tools->Options from the menu). In Options dialog select Environment->Keyboard form the tree and set your own shortcuts for Edit.FormatDocument.

    0 讨论(0)
  • 2021-01-31 09:27

    Ctrl+E+D in Visual Studio Express 2013.

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