How to surround code by curly braces in IntelliJ IDEA?

后端 未结 7 2077
予麋鹿
予麋鹿 2021-02-03 16:50

How to surround code by curly braces in IntelliJ IDEA? Is there any keyboard-shortcut for such operation?

7条回答
  •  说谎
    说谎 (楼主)
    2021-02-03 17:37

    Just click as the below 2 steps

    1, CTRL + ALT + T
    2, then press ALT + A at the same time.

    Hope to help you.

提交回复
热议问题