Open rbolsius opened 7 years ago
Fixed in #12.
Hi, it seems that the fix that was merged has some problems and does not actually keep the cursor inside the tag. I put some commends in PR https://github.com/compulim/vscode-closetag/pull/12 explaining what I think the issue is.
Thanks.
Pretty tight up on my real world job, will take a look asap. Good that we have Travis CI publish workflow setup so as soon as the PR is in, it will be on VSCE. 😉
In the latest version of VS Code closeTag.closeHTMLTagInPlace does not behave any differently than closeTag.closeHTMLTag. Both commands place the cursor after the inserted tag in VS Code 1.13.1. closeTag.closeHTMLTagInPlace should keep the cursor before the inserted tag when the selection is empty.