1
0
mirror of https://github.com/golang/go synced 2024-11-18 19:14:40 -07:00
go/internal/lsp/fuzzy
Muir Manders a12cc76b85 internal/lsp: trim down the fuzzy matcher library
Remove the input type option. Now everything behaves as "symbol".

We don't use the "text" or "filename" input types, and I don't foresee
us using them. Removing them simplifies the code a bit, but simplifies
the tests a lot. It was tedious to make changes to the matcher logic
because you had to fret over test failure details that didn't actually
matter because we didn't use that functionality.

Change-Id: I651debde9e63ee283d7bc3ad718d22f4b9a127c0
Reviewed-on: https://go-review.googlesource.com/c/tools/+/202637
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-10-22 20:51:43 +00:00
..
input_test.go internal/lsp: trim down the fuzzy matcher library 2019-10-22 20:51:43 +00:00
input.go internal/lsp: trim down the fuzzy matcher library 2019-10-22 20:51:43 +00:00
matcher_test.go internal/lsp: trim down the fuzzy matcher library 2019-10-22 20:51:43 +00:00
matcher.go internal/lsp: trim down the fuzzy matcher library 2019-10-22 20:51:43 +00:00