Skip to content

suggestWidget: change the suggest word's order #700

Closed

Description

@hellopao

suggestWidget.pgn

the snippet item should be placed in front of the language keyword.

when pressing the TAB key after typing words if, it should insert the code snippet

Activity

  1. WangJi commented on Nov 29, 2015

    @WangJi

    This bothers me too.
    After update to 0.10.2, sorting rule of the suggestion list has changed.
    Some user defined snippets no longer showing first.

  2. added
    feature-request
    on Nov 30, 2015
  3. WangJi commented on Dec 4, 2015

    @WangJi

    Before 0.10.1, it works fine, after that, it's broken.
    Obviously, it's either a bug or an intention (reason?).
    Martin Aeschlimann (@aeschli) could you help to look at it?

  4. mamartins commented on Feb 14, 2016

    @mamartins

    true, this made me switch again to atom

  5. WangJi commented on Feb 17, 2016

    @WangJi

    Marco Martins (@mamartins) they fixed it in the latest update.

  6. mamartins commented on Feb 17, 2016

    @mamartins

    Here I still have this:
    screen shot 2016-02-17 at 17 51 22

    having a exact match for a for (in this case the second option) this should be the first one that only need a tab to auto-complete it.
    Same for if for e.g..

    another annoying thing is the snippets, they still miss a lot, one I've added right away was log + tab to produce a console.log

  7. RomkeVdMeulen commented on May 19, 2017

    @RomkeVdMeulen

    This is still happening in 1.12 and still very annoying.

  8. WangJi commented on May 19, 2017

    @WangJi

    Have you ever tried this:

    "editor.snippetSuggestions": "top",

  9. RomkeVdMeulen commented on May 19, 2017

    @RomkeVdMeulen

    Much better! Thank you.

  10. added
    suggest
    on Nov 17, 2017
  11. jrieken commented on Oct 1, 2018

    @jrieken
    Contributor

    Closing this because of aforementioned setting (#700 (comment)) and because suggests generally sort better now

  12. locked and limited conversation to collaborators on Nov 15, 2018
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

    feature-requestsuggest

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions