Wrapping multiple statements in braces

前端 未结 1 1988
深忆病人
深忆病人 2021-02-18 23:15

Is there a keyboard shortcut in Visual Studio 2010 (I\'m using ReSharper 6.1 also) that will allow me to surround a selected block of text with curly braces? I tried \"

相关标签:
1条回答
  • 2021-02-18 23:59

    Select rows of code.

    Press Ctrl E-U (Surround with template) (or Ctrl Alt J for Intelli J).

    Select option 7: { }.

    Works for me.

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