仓库指标
- 星标
- (277 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
VSCode made some changes to JSX (at least), and now this extension isn't working.

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!