go/internal/lsp/source
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 internal/lsp/source/completion: use c.matcher for comments 2020-09-30 19:40:55 +00:00
genapijson internal/lsp/source: add additional generated docs 2020-09-28 17:29:33 +00:00
api_json.go internal/lsp/semantic.go: add the skeleton for supporting semantic tokens 2020-09-30 14:30:06 +00:00
call_hierarchy.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
code_lens.go internal/lsp: add a test for gc annotation details code lens 2020-09-25 14:57:16 +00:00
command.go internal/lsp: add a command to generate the gopls.mod file 2020-09-23 18:26:40 +00:00
comment.go internal/lsp/source: use space character in markdown formatting 2020-08-26 03:44:07 +00:00
comment_test.go internal/lsp: convert comments to markdown before sending to client 2019-10-04 18:35:38 +00:00
diagnostics.go internal/lsp: prepare for deletion of view.modURI 2020-09-28 20:19:43 +00:00
extract.go internal/lsp: clean up some of the extract function code 2020-09-08 20:39:53 +00:00
folding_range.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
format.go internal/lsp/source/completion: remove unused contexts 2020-09-29 21:00:17 +00:00
format_test.go internal/lsp: reproduce and fix golang/go#41057 2020-09-02 22:40:51 +00:00
gc_annotations.go internal/lsp: allow multiple go.mod files in a view 2020-09-25 19:12:24 +00:00
highlight.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
hover.go internal/lsp: pass options by reference instead of by value 2020-09-16 22:53:23 +00:00
identifier.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
identifier_test.go internal/lsp/source: add a unit test for searchForEnclosing 2020-07-28 18:51:24 +00:00
implementation.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
options.go internal/lsp/semantic.go: add the skeleton for supporting semantic tokens 2020-09-30 14:30:06 +00:00
references.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
rename.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
rename_check.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
signature_help.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
source_test.go internal/lsp: run marker tests in multi-module mode 2020-09-25 18:05:33 +00:00
symbols.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
types_format.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
util.go internal/lsp: move package selection to before type checking 2020-09-24 22:42:22 +00:00
view.go internal/lsp: stop using modURI as much as possible 2020-09-29 19:10:02 +00:00
workspace_symbol.go gopls: fix various staticcheck errors 2020-09-29 17:30:36 +00:00
workspace_symbol_test.go internal/lsp/source: support some fzf-like tokens in symbol matching 2020-09-08 16:35:05 +00:00