Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[html] auto close tags being inserted before its html content #77923

Open
ghost opened this issue Jul 24, 2019 · 0 comments
Open

[html] auto close tags being inserted before its html content #77923

ghost opened this issue Jul 24, 2019 · 0 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug html HTML support issues
Milestone

Comments

@ghost
Copy link

ghost commented Jul 24, 2019

Issue Type: Bug

Usually, after opening a HTML tag(<div>, for example), an auto close tag is immediately inserted (</div> in this case) and cursor is positioned between them, so I can continue typing...

but when using "Remote - SSH", since it takes a few mili seconds to auto complete (internet latency, )I open a html tag and continue typing.. and the closing tag is inserted immediately after opening tag, pushing what I have typed till now, outside of the closing tag

but this does not happen if I wait for a while, until the closing tag is inserted..

the former case looks kinda like this:

<div></div>lorem ipsum
<!-- ^ closing tag is inserted here -->

Extension version: 0.44.2
VS Code version: Code 1.36.1 (2213894, 2019-07-08T22:59:35.033Z)
OS version: Windows_NT x64 10.0.17134
Remote OS version: Linux x64 4.9.0-9-amd64

@ghost ghost changed the title html auto close tags inserted before its(tag) contents html auto close tags being inserted before its html content Jul 24, 2019
@aeschli aeschli transferred this issue from microsoft/vscode-remote-release Jul 25, 2019
@aeschli aeschli self-assigned this Jul 25, 2019
@aeschli aeschli changed the title html auto close tags being inserted before its html content [html] auto close tags being inserted before its html content Jul 25, 2019
@aeschli aeschli added bug Issue identified by VS Code Team member as probable bug html HTML support issues labels Jul 25, 2019
@aeschli aeschli added this to the Backlog milestone Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug html HTML support issues
Projects
None yet
Development

No branches or pull requests

1 participant