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

[emmet] The command update tag works incorrectly with single-line tag #8136

Closed
mrmlnc opened this issue Jun 25, 2016 · 1 comment
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded

Comments

@mrmlnc
Copy link
Contributor

mrmlnc commented Jun 25, 2016

VS Code version: 1.3.0-insider
VS Code last commit: de66522
OS version: Windows 10 (build 1511)

Steps to Reproduce:

  1. Open VS Code
  2. Write custom HTML (for example: .test-wrapper>.test)
  3. Run command Emmet: update tag

Problem (tag without text)

2016-06-25_16-01-23

No problem (tag with text)

2016-06-25_18-57-19

@mrmlnc mrmlnc changed the title [emmet] Incorrect work of the command update tag with single-line tag [emmet] The command update tag works incorrectly with single-line tag Jun 25, 2016
@mrmlnc
Copy link
Contributor Author

mrmlnc commented Jun 25, 2016

Can be solved by passing -1 when calling code snippets. I don't know why it works 😄

                                                            \/ overwriteAfter: number
snippets.getSnippetController(this.editor).run(codeSnippet, -1, 0, false);

2016-06-25_18-59-00

@egamma egamma closed this as completed in 4624666 Jun 29, 2016
@joaomoreno joaomoreno added bug Issue identified by VS Code Team member as probable bug verified Verification succeeded labels Sep 2, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants