formulahendry/vscode-auto-rename-tag

Not working when typing too fast

オープン

#36 opened on 2017/10/06

 (2 件のコメント) (5 件のリアクション) (0 人の担当者)TypeScript (39 件のフォーク)github user discovery
bughelp wanted

Repository metrics

Stars
 (277 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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!

コントリビューターガイド