How to surround code by curly braces in IntelliJ IDEA?

后端 未结 7 2072
予麋鹿
予麋鹿 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:51

    You need to create a live template first. Just go Preferences and add a template to html/xml

    enter image description here

提交回复
热议问题