Skip to content

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

Closed

Description

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

Activity

  1. 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[/+] on Jun 25, 2016
  2. mrmlnc commented on Jun 25, 2016

    @mrmlnc
    ContributorAuthor

    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

  3. added
    bug
    verified
    on Sep 2, 2016
  4. locked and limited conversation to collaborators on Nov 18, 2017
  5. added a commit that references this issue on Sep 6, 2026
    1e31a64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugverified

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions