So I believe that snippets should go first in priority. The default priority for language client is 2 (the same as snippets). In that case, snippets are not always first.
This can definitely be configurable. Also, I'm willing to provide a PR with the implementation.
The key is overriding the suggestionPriority in provideAutocomplete.
Hi,
So I believe that snippets should go first in priority. The default priority for language client is 2 (the same as snippets). In that case, snippets are not always first.
This can definitely be configurable. Also, I'm willing to provide a PR with the implementation.
The key is overriding the suggestionPriority in
provideAutocomplete
.They did this same thing in ide-flowtype (they made theirs configurable). https://github.com/flowtype/ide-flowtype/blob/master/lib/main.js#L122