Visual Studio - Is there a shortcut to insert parentheses around a selection?

前端 未结 3 1305
陌清茗
陌清茗 2021-02-19 03:55

I am playing with Atom and I really like how I can select an expression and press Shift+9 to insert ( and ) outside it. This is convenient

3条回答
  •  天命终不由人
    2021-02-19 04:03

    To add curly brackets:

    Just highlight your selection and press {

    Same applies for square brackets[] and brackes ()

提交回复
热议问题