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

Undo incorrectly applies autocompletion #61124

Closed
macp3o opened this issue Oct 17, 2018 · 2 comments
Closed

Undo incorrectly applies autocompletion #61124

macp3o opened this issue Oct 17, 2018 · 2 comments
Assignees
Labels
html HTML support issues

Comments

@macp3o
Copy link

macp3o commented Oct 17, 2018

Issue Type: Bug

Suggested solution: Disable autocompletion during undo.

Steps to reproduce the problem:

  1. Enter the following code in an html file: <script>text</script>
  2. Delete the closing > of the <script> tag. yielding <scripttext</script>
  3. Press Ctl+Z to undo. Undo should restore the deleted > only and show the original code from step 1. However, we get <script></script>text</script> (notice the extra </script>).

VS Code version: Code 1.28.1 (3368db6, 2018-10-11T18:07:34.132Z)
OS version: Linux ia32 4.4.0-137-generic

@vscodebot vscodebot bot added the html HTML support issues label Oct 17, 2018
@aeschli
Copy link
Contributor

aeschli commented Oct 17, 2018

duplicate of #34484

@aeschli aeschli closed this as completed Oct 17, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
html HTML support issues
Projects
None yet
Development

No branches or pull requests

2 participants