Skip to content

Tab no longer autocompletes closing tag #29774

Closed

Description

  • VSCode Version: Code - Insiders 1.14.0-insider (63def6e, 2017-06-28T05:07:46.148Z)
  • OS Version: Darwin x64 15.6.0
  • Extensions: none

Steps to Reproduce:

  1. Open empty .html file
  2. Enter <div
  3. Press tab
  4. On 1.13.1 this completes to <div></div>
  5. On 1.14-insider this stays <div

Activity

  1. ramya-rao-a commented on Jun 28, 2017

    @ramya-rao-a
    Contributor

    Old Emmet that would get triggered on tab was adding the closing tag.

  2. added
    bug
    emmet
    on Jun 28, 2017
  3. ramya-rao-a commented on Jun 29, 2017

    @ramya-rao-a
    Contributor

    In the new emmet, if you try to run the command Emmet: Expand Abbreviation on <div you end up with <<div></div> which is wrong as well

  4. ramya-rao-a commented on Jul 18, 2017

    @ramya-rao-a
    Contributor

    Re-opening to see if I can get the same fix for the emmet completion provider

  5. ramya-rao-a commented on Jul 18, 2017

    @ramya-rao-a
    Contributor

    Closing as doing the same in emmet completion causes conflicts with suggestions from html extension.

    With the current fix, the command Emmet: Expand Abbreviation will expand <div to

    `

  6. added
    verified
    on Aug 2, 2017
  7. roblourens commented on Aug 2, 2017

    @roblourens
    Member

    So the completions from <div are coming from the html extension and not emmet, right? Should the html extension do something slightly smarter and expand to <div> at least? Is that easy for it to do?

  8. ramya-rao-a commented on Aug 3, 2017

    @ramya-rao-a
    Contributor

    completions from <div are coming from the html extension and not emmet, right

    right

    Should the html extension do something slightly smarter and expand to

    not if you were planning to write attributes first

  9. roblourens commented on Aug 3, 2017

    @roblourens
    Member

    Ah good point

  10. locked and limited conversation to collaborators on Nov 17, 2017
  11. added a commit that references this issue on Sep 6, 2026
    b0ad6a0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugemmetverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions