formulahendry/vscode-auto-rename-tag

Not working when typing too fast

Offen

#36 geöffnet am 06.10.2017

 (2 Kommentare) (5 Reaktionen) (0 zugewiesene Personen)TypeScript (39 Forks)github user discovery
bughelp wanted

Repository-Metriken

Stars
 (277 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

VSCode made some changes to JSX (at least), and now this extension isn't working.

autorenametag

My settings.json:

{
    "atomKeymap.promptV3Features": true,
    "editor.multiCursorModifier": "ctrlCmd",
    "editor.formatOnPaste": true,
    "editor.snippetSuggestions": "top",
    "editor.tabSize": 4,
    "emmet.includeLanguages": {
        "javascript": "javascriptreact"
    },
    "files.associations": {
        "*.js": "javascriptreact"
    },
    "git.enableSmartCommit": true,
    "workbench.iconTheme": "material-icon-theme",
    "workbench.startupEditor": "newUntitledFile",
    "window.zoomLevel": 0
}

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!

Contributor Guide