formulahendry/vscode-auto-rename-tag

Not working when typing too fast

開放

#36 建立於 2017年10月6日

 (2 則留言) (5 個反應) (0 位負責人)TypeScript (39 個分叉)github user discovery
bughelp wanted

倉庫指標

星標
 (277 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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!

貢獻者指南