代码改变世界

Simultaneous Tag Editing in IntelliJ IDEA 14.1

2015-02-06 18:04  Rollen Holt  阅读(626)  评论(1编辑  收藏  举报

If you’re involved in web development and, for some reason, you haven’t given a ride to IntelliJ IDEA 14.1 yet, this will talk you into doing it right away.

Has it happened to you that you changed an HTML or an XML tag in your code and broke it because of forgetting to change both the opening and the closing tag? Of course it has, it happens once in a while time and drives you really crazy. That’s why we let IntelliJ IDEA provide a little bit of a help with this:

The new option is called Simultaneous editing and is available in Preferences/Settings → Editor → General → Smart Keys. We hope this small enhancement will make your everyday life easier.