Skip to content

How do we make snippets first in suggestion window? #166

@Smithx10

Description

@Smithx10

I'd like for snippets to be listed for in suggestions, is this possible?

[[language]]
name = 'go'
scope = 'source.go'
file-types = ['go']
language-servers = ['gopls', 'scls']

[language-server.scls.config]
max_completion_items = 20 # set max completion results len for each group: words, snippets, unicode-input
snippets_first = true # completions will return before snippets by default
snippets_inline_by_wrd_tail = false # suggest snippets by WORD tail, for example text xsq| become x^2| when snippet sq has body ^2
feature_words = true # enable completion by word
feature_snippets = true # enable snippets
feature_unicode_input = true # enable "unicode input"
feature_paths = false # enable path completion
feature_citations = false # enable citation completion (only on citation feature enabled)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions