Working with XML in Notepad ++ (selecting/moving)



  • Hi All! I’m fairly new to working with XML in notepad ++ and I have two questions I was hoping someone could point me in the right direction on:

    • is there an easy way to select an entire tag if your at the start of a long one? So if I have a <name> tag in the XML doc, can i select that first name tag/bracket and use a shortcut to highlight down to the closing bracket?

    • If i have a xml document collapsed in the view, is there an easy way for me to drag and drop rearrange?

    • If a tag is collapsed, is there a way to select all of the tags contents while it’s collapsed for copy/pasting?



  • @Chad-Briggs

    is there an easy way to select an entire tag if your at the start of a long one? So if I have a <name> tag in the XML doc, can i select that first name tag/bracket and use a shortcut to highlight down to the closing bracket?

    Plugin HTML Tag has such a functionality which works with xml as well.

    If a tag is collapsed, is there a way to select all of the tags contents while it’s collapsed for copy/pasting?

    put cursor in front of the tag, press shift, hold it and press down arrow key and
    maybe while still holding shift key press home(pos1) key.

    If i have a xml document collapsed in the view, is there an easy way for me to drag and drop rearrange?

    Once selected liked described before you could use the mouse and move it around but
    to be honest, I find this a little bit cumbersome.

    Cheers
    Claudia


Log in to reply