atom/autocomplete-html

HTML - Can't confirm tag autocomplete twice in a row

YvanUh opened this issue · 1 comments

Description

In HTML Doctype, can't confirm tag autocomplete twice in a row.
Am I doing something wrong?

Steps to Reproduce

  1. write first letters of a first tag (eg. 'p')
  2. tab to autocomplete -> OK
  3. now cursor is in between start and end tags
  4. write first letters of a second tag (eg. 'str' for <strong>)
  5. tab to autocomplete -> KO
  6. problem: the expected second tags are not created.
    Instead of <p><strong></strong></p>, I get <p>strong</p>.

Expected behavior:
I expect autocomplete to create two tags, eg. <strong></strong>, inside the previously created tags (<p></p> in my example).

Actual behavior:
When writing 'str' inside <p></p>, autocomplete suggest the 'strong' tag.
After pressing tab, Keybinding resolver returns autocomplete-plus:confirm, but 'strong' is written instead of <strong><\strong>.

Reproduces how often:
100% in HTML Doctypes

Versions

ATOM
Atom : 1.30.0
Electron: 2.0.5
Chrome : 61.0.3163.100
Node : 8.9.3

APM
apm 1.19.0
npm 3.10.10
node 6.9.5 x64
atom 1.30.0
python 2.7.15rc1
git 2.17.1

OS
NAME="Linux Mint"
VERSION="19 (Tara)"
VERSION_ID="19"
VERSION_CODENAME=tara
UBUNTU_CODENAME=bionic

Thanks to you all

Any updates on this one?
I am facing the same issue.