Skip to content

Control over snippets #9286

Closed
Closed

Description

There are many different expectation wrt snippets and we should introduce some user settings and command to tackle that

Activity

  1. added
    feature-request
    on Jul 14, 2016
  2. egamma commented on Jul 14, 2016

    @egamma
    Member

    Suggest to also add a setting to not show snippets in intellisense, e.g., top, bottom, natural, none.

  3. jrieken commented on Jul 15, 2016

    @jrieken
    ContributorAuthor

    better naming ideas? favourites? Martin Aeschlimann (@aeschli) alexandrudima

    • snippetOrder: 'top' | 'bottom' | 'normal' or
    • snippetSuggestionsSortOrder: 'top' | 'bottom' | 'normal'; or
    • snippetSorting: 'top' | 'bottom' | 'normal'

    and then analog to editor.wordBasedSuggestions I'd add

    editor.snippetSuggestions: boolean,

  4. alexdima commented on Jul 15, 2016

    @alexdima
    Member

    I would go with one setting, it is IMHO more difficult for me to have to configure two settings which somewhat influence eachother

    editor.snippetSuggestions : "top" | "bottom" | "mixed" | "none"

    I would go for "mixed" or "inline" instead of "normal" because nobody knows what normal is :).

  5. alexdima commented on Jul 15, 2016

    @alexdima
    Member

    Johannes Rieken (@jrieken) Is this item changing also the out of the box sort order? (i.e. is #8758 really a dup of this one?)

  6. jrieken commented on Jul 15, 2016

    @jrieken
    ContributorAuthor

    Yeah, makes sense. To summarise: editor.snippetSuggestions : "top" | "bottom" | "inline" | "none" or instead of "inline" | "none" it could be boolean where true means inline and false means none?

  7. jrieken commented on Jul 15, 2016

    @jrieken
    ContributorAuthor

    snippetSuggestions: 'top' | 'bottom' | 'inline' | 'none'; it is

  8. shreyas-a commented on Feb 3, 2017

    @shreyas-a

    is this feature live yet. if not when we can expect this

  9. dsifford commented on Feb 7, 2017

    @dsifford

    Shreyas (@shreyas-a) Yep, it's live. In your settings search for editor.snippetSuggestions. From there you can choose between top, bottom, inline, or none.

  10. shreyas-a commented on Feb 7, 2017

    @shreyas-a

    Thanks, works perfectly. Don't you think the default option should be "inline"
    I got easily confused about how my snippet suggestions suddenly started appearing at bottom. I'm sure many folks must be having same problem.

  11. potterdai commented on Jul 8, 2017

    @potterdai

    There should be an option of "inline-top".
    Using current "inline" option, snippets will always come last.

  12. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-request

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions