go/internal/lsp/source/completion
Danish Dua a44386fadb internal/lsp/source/completion: use c.matcher for comments
This change adds calls to c.matcher.score for commment completion so
comments match the prefix (or fuzzy match depending on user settings)
and don't end up giving the user too many irrelevant suggestions.

Change-Id: Ie660f82c491c17d52e68e781a812bf8053e501f8
Reviewed-on: https://go-review.googlesource.com/c/tools/+/258322
Trust: Danish Dua <danishdua@google.com>
Run-TryBot: Danish Dua <danishdua@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2020-09-30 19:40:55 +00:00
..
completion.go internal/lsp/source/completion: use c.matcher for comments 2020-09-30 19:40:55 +00:00
completion_builtin.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
completion_format.go internal/lsp/source/completion: remove unused contexts 2020-09-29 21:00:17 +00:00
completion_keywords.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
completion_labels.go internal/lsp/source/completion: remove unused contexts 2020-09-29 21:00:17 +00:00
completion_literal.go internal/lsp/source/completion: remove unused contexts 2020-09-29 21:00:17 +00:00
completion_package.go internal/lsp/source/completion: remove unused contexts 2020-09-29 21:00:17 +00:00
completion_printf.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
completion_printf_test.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
completion_snippet.go internal/lsp/source/completion: move search path to candidate 2020-09-23 01:44:26 +00:00
completion_statements.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
deep_completion.go internal/lsp/source/completion: remove unused contexts 2020-09-29 21:00:17 +00:00
deep_completion_test.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
util.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
util_test.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00