Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Autocomplete double quotes issue #85

Open
1 task done
kylegrieder opened this issue Apr 11, 2018 · 1 comment
Open
1 task done

Autocomplete double quotes issue #85

kylegrieder opened this issue Apr 11, 2018 · 1 comment

Comments

@kylegrieder
Copy link

kylegrieder commented Apr 11, 2018

Prerequisites

Description

When autocompleting a tag attribute, the cursor jumps inbetween the autocompleted double quotes. If another double quote is input, rather than skipping over the closing double quote, another double quote is created. Meaning, if using autocomplete to import a tag attribute, after naming the attribute, one would have to use the arrow keys to move the cursor out of the double quotes, as opposed to being able to input a "closing" double quote, to skip over the imported closing double quote.

Steps to Reproduce

  1. Go to any HTML document
  2. Start a html tag (i.e. <div)
  3. Start typing a html tag attribute (i.e. class)
  4. Autocomplete the tag attribute.
  5. Your cursor should now be inbetween the autocompleted double quotes.

Expected behavior: At this point, if I put in another double quote, I'd expect that my cursor would skip over the existing closing double quote.

Actual behavior: Another double quote is input, rather than the cursor skipping over the existing one.

Reproduces how often: 100%

Versions

apm 1.19.0
npm 3.10.10
node 6.9.5 x64
atom 1.25.1
python 2.7.10
git 2.15.1

OS: macOS 10.13.4

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

edit: this might actually be an issue for the autocomplete-plus package, as this same issue is present regardless of the language for which autocomplete is being used.

@sgc109
Copy link

sgc109 commented May 29, 2018

I'm in trouble about this issue too :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants