You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was just messing around in my user settings.json in VS Code, and I found the auto-rename-tag settings. I thought it was part of VS Code so I got excited and deleted this extension, but that actually removed the settings :)
I added it back, and then I re-investigated and noticed it had "*" for languages, so I pasted the setting into my user settings to overwrite the defaults, and it works now. I noticed if I type really fast, it gets screwed up though. You should probably check that out.
Put in:
<Test>
</Test>
and then inside the closing tag, type 'lksjdfhlaksjdhf' pretty fast. It seems almost like there is a refresh rate that causes a problem if you type too fast.
Anyway, it works now so I'm happy!
The text was updated successfully, but these errors were encountered:
Good to know it is working now.
For the rename function not working when typing fast, it is known issue. Currently, I did not find a good way to handle this.
formulahendry
changed the title
Extension stopped working when VS Code updated yesterday to 1.17.0
Not working when typing too fast
Oct 9, 2017
I haven't looked at the code but it seems a bug like this might arise if you are constantly re-checking the for a matching pair of tags every time the user enters a character.
perhaps you could just check the on the first change and then lock the renaming until the cursor moves outside of the "element name area" (e.g. a non-ident character such a space, '/', '>', etc.)
VSCode made some changes to JSX (at least), and now this extension isn't working.
My settings.json:
I was just messing around in my user settings.json in VS Code, and I found the auto-rename-tag settings. I thought it was part of VS Code so I got excited and deleted this extension, but that actually removed the settings :)
I added it back, and then I re-investigated and noticed it had "*" for languages, so I pasted the setting into my user settings to overwrite the defaults, and it works now. I noticed if I type really fast, it gets screwed up though. You should probably check that out.
Put in:
and then inside the closing tag, type 'lksjdfhlaksjdhf' pretty fast. It seems almost like there is a refresh rate that causes a problem if you type too fast.
Anyway, it works now so I'm happy!
The text was updated successfully, but these errors were encountered: