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.

Ruby editor: typing #{ autocomplete annoying #109

Open

Description

@fulldecent

In general, all autocomplete functionality should obey this rule:

Text automatically inserted in the current line is marked
If the cursor is before a marked character and the marked character is entered, the cursor advances to the right one space and no further effect happens
When leaving focus of the current line, all marking is lost

Following shows an example of a "helpful" autocomplete in Ruby becoming a pain:

kismac2build2

originally posted to atom/atom#5595 (comment)

Activity

  1. thedaniel commented on Feb 19, 2015

    @thedaniel
    Contributor

    Yeah, this is a huge bummer for me writing ruby code too.

  2. shemerey commented on Jun 11, 2015

    @shemerey

    yes it's so annoying

  3. nickserv commented on Jun 12, 2015

    @nickserv

    👍

  4. fulldecent commented on Jul 28, 2017

    @fulldecent
    Author

    Confirmed still broken in 1.18.0.

  5. BrennanAyers commented on Feb 17, 2019

    @BrennanAyers

    Will this ever be resolved? Has anybody even looked at this? It's hard to believe this is even based on the bracket-matcher package.
    I was trying to figure out how to remove the "octothorpe inside of quotes turns into #{ }" autocomplete/snippet, but couldn't find what was causing it. I think that would resolve the main issue, and then allow people to type their brackets (or not) as normal, completely subverting bracket-matcher as the package at fault.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions