Surround code block with curly braces?

后端 未结 6 983
Happy的楠姐
Happy的楠姐 2021-02-18 22:53

Is there a shortcut to surround a given (selected) code block with curly braces?

VS 2015 + R# 2016.1

6条回答
  •  情书的邮戳
    2021-02-18 23:37

    The quickest built-in shortcut in the Visual Studio scheme I can find is Ctrl+E+U, 7 (surround with..., then choose option 7 which is curly braces).

    I don't see a shortcut for it in Visual Studio's keyboard options, so that may be the best you can get.

提交回复
热议问题