开发者

Code formatting visual studio and sql server

开发者 https://www.devze.com 2023-04-04 00:25 出处:网络
What is the equivalent of Ctrl + K + D (Visual Studio) in Sql Server Management Studio which is 开发者_开发问答use to format the code ?Upcoming SQL Server 2011 seems to have a similar feature, but pre

What is the equivalent of Ctrl + K + D (Visual Studio) in Sql Server Management Studio which is 开发者_开发问答use to format the code ?


Upcoming SQL Server 2011 seems to have a similar feature, but previous versions doesn't have it. Click on the referenced link and you will see that;

  • Applies the indenting and space formatting for the language specified on the Formatting pane of the language in the Text Editor section of the Options dialog. Available only in the text editor. ( CTRL-K, CTRL-D )
  • Correctly indents the selected lines of code based on the surrounding lines of code ( CTRL-K, CTRL-F )
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号