Simultaneous Tag Editing in IntelliJ IDEA 14.1

Posted on by Andrey Cheptsov

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:

simultaneous_tag_editing_2

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. 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. Rob says:

    February 5, 2015

    is that available for editing xml in an android project?

    • Maciej M says:

      February 6, 2015

      use refactor/rename

  3. 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. 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. luckydonald says:

    February 19, 2015

    How do you transform the strong to an html tag?

    • Andrey Cheptsov says:

      March 3, 2015

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

  6. Tom says:

    June 2, 2017

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

  7. Tristan says:

    August 10, 2017

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

  8. Jacob says:

    August 9, 2019

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

Subscribe

Subscribe for updates