How to surround code by curly braces in IntelliJ IDEA? Is there any keyboard-shortcut for such operation?
You need to create a live template first. Just go Preferences and add a template to html/xml