formulahendry / vscode-auto-rename-tag

Automatically rename paired HTML/XML tag

Home Page:https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The extension is not working appropriately with multiline cursor

Tom4sBeltr4n opened this issue · comments

I really love this extension because it reduces considerably the time spent changing one (or multiple) HTML tags. However, today it did not seem to work as expected. There are few specific things I can type to help replicating the behaviour. Simple HTML edition in VSC with multiple lines (which is another productivity tool provided by VSC). I'm afraid I don't have a tool to record my screen, but I was editing a pair of opening <p> tags, hoping it would edit both tags' closing counterpart, but it wasn't the case: only the first tag edited.

Summary:

  • Expected behaviour: editing two <p> tags in different lines would edit the corresponding </p> tags in their respective lines
  • Output: only the opening <p> tags were edited.

Help with this issue is greately appreciated.