go/internal/lsp/cmd
Robert Findley 3737ecd836 internal/lsp/fuzzy: consider whole word matching in SymbolMatcher
In the new SymbolMatcher, add an additional scoring feature that
considers whether the matching pattern streak is part of a whole-word
match. This differentiates matches of "foo" against "pkg.foo" and
"pkg.foobar".

For golang/go#50016

Change-Id: Ib84ff13eee0b7ec23143325592cef9a41be07375
Reviewed-on: https://go-review.googlesource.com/c/tools/+/376361
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Peter Weinberger <pjw@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-01-19 15:05:25 +00:00
..
test
call_hierarchy.go
capabilities_test.go
check.go
cmd.go
cmd_test.go
definition.go
export_test.go
folding_range.go
format.go
highlight.go
implementation.go
imports.go
info.go
links.go
prepare_rename.go
references.go
remote.go
rename.go
semantictokens.go
serve.go
signature.go
subcommands.go
suggested_fix.go
symbols.go
workspace.go
workspace_symbol.go