Simultaneous Tag Editing in IntelliJ IDEA 14.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 <tag></tag> editing and is available in Preferences/SettingsEditorGeneralSmart Keys. We hope this small enhancement will make your everyday life easier.

Don’t forget to write back to us in our discussion forum and to the issue tracker to share your feedback on this feature.

Develop with Pleasure!

Comments below can no longer be edited.

10 Responses to Simultaneous Tag Editing in IntelliJ IDEA 14.1

  1. Avatar

    than says:

    February 5, 2015

    Nice! You can also at any time place the caret in the tag name and refactor/rename(CMD+F6). I belive this has been around for some versions now

  2. Avatar

    Rob says:

    February 5, 2015

    is that available for editing xml in an android project?

    • Avatar

      Maciej M says:

      February 6, 2015

      use refactor/rename

  3. Avatar

    Todd Breiholz says:

    February 6, 2015

    I love the way you guys keep delivering features that I didn’t even know that I needed!

  4. Avatar

    Bohuslav Burghardt says:

    February 6, 2015

    Wow, what a great feature! 14.1 is shaping up to be an amazing release, thanks for all your hard work!

  5. Avatar

    luckydonald says:

    February 19, 2015

    How do you transform the strong to an html tag?

    • Avatar

      Andrey Cheptsov says:

      March 3, 2015

      Using Emmet, you type an Emmet expression and then hit Tab.

  6. Avatar

    Tom says:

    June 2, 2017

    This doesn’t seem to work with Vim Emulation. Is that correct?

  7. Avatar

    Tristan says:

    August 10, 2017

    This doesn’t work in JSP/JSPX, too. 🙁

  8. Avatar

    Jacob says:

    August 9, 2019

    How to delete both (beginning and end) tags at the same time ?

Discover more