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

Commenting a text triggers autocomplete #132

Closed

Description

@xeron

Autocomplete box opens when pressing Cmd + "/" while cursor is in the middle/end of any word in line.

Activity

  1. dwelle commented on Dec 10, 2014

    @dwelle

    👍

  2. xeron commented on Dec 10, 2014

    @xeron
    Author

    Actually it's a bug, not enhancement :)

  3. jeffschwartz commented on Dec 12, 2014

    @jeffschwartz

    +1

    This one is nasty - it disrupts editing comments and what's worse it will destroy your comment and code if you are not careful.

    For instance, in JavaScript if I create a comment like /* and hit enter it will expand as follows:
    /

    *
    */

    The cursor will focus on the second line and when you start typing a few letters will be correct but at some point, when autocomplete kicks in and you keep typing the characters are added to the beginning of whatever exists in the comment.

    Example (good):
    /**

    • This is an example
      */

    Example (bug):
    /**

    • This is an elpmaex
      */

    Please fix this asap. It should get top priority.

  4. joefitzgerald commented on Dec 13, 2014

    @joefitzgerald
    Contributor

    Can you please re-test this with the latest version of Atom and autocomplete-plus and let me know if it's still an issue?

  5. xeron commented on Dec 13, 2014

    @xeron
    Author

    Still an issue with atom 0.158.0 and autocomplete-plus 0.22.11.

  6. xeron commented on Dec 13, 2014

    @xeron
    Author

    BTW pressing cmd+z triggers autocomplete as well. So for example if you added some text after any word and then decided to undo it using cmd+z — you'll see autocomplete box.

  7. jeffschwartz commented on Dec 13, 2014

    @jeffschwartz

    Typing a comment, like within an open and close multiline comment in JavaScript for instance, still triggers autocomplete. The issue seems to have been that when that happened the cursor would repeatedly move to the beginning of what you are typing, giving the appearance that you are typing right to left. I just tested it and I’m using the latest versions of Atom and the autocomplete plugin. It appears to be working correctly now though I can’t really say my test adequately covered all possibilities. I guess time will be the ultimate test. So for now it looks like it is working and thank you.

    Jeff

    On Dec 13, 2014, at 1:53 PM, Joe Fitzgerald [email protected] wrote:

    Can you please re-test this with the latest version of Atom and autocomplete-plus and let me know if it's still an issue?

    —
    Reply to this email directly or view it on GitHub https://github.com/atom-community/autocomplete-plus/issues/132#issuecomment-66886719.

  8. joefitzgerald commented on Dec 31, 2014

    @joefitzgerald
    Contributor

    This will be addressed in #88. Closing in deference to that.

  9. added a commit that references this issue on Jan 26, 2015
    72fffa8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions