1
0
mirror of https://github.com/golang/go synced 2024-10-01 10:28:31 -06:00
go/internal/lsp/testdata/lsp
Heschi Kreinick 6a7cf6184f internal/lsp/source: fix cached package name matching
I made a silly mistake and checked the prefix on the import path rather
than the package name, which obviously breaks everything other than
top-level stdlib packages.

Fix that, then tweak the ranking a bit. We now get deep completions, which
is nice, but filled up the results too fast. Now instead of 5 results of
any kind, we give up after 5 packages searched.

Change-Id: I15b293f68f17531077da9ffe791a38ccc0e129f4
Reviewed-on: https://go-review.googlesource.com/c/tools/+/231617
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-05-27 17:50:42 +00:00
..
modules/example.com/extramodule/pkg internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
primarymod internal/lsp/source: fix cached package name matching 2020-05-27 17:50:42 +00:00
summary.txt.golden internal/lsp/source: offer smart "append()" completions 2020-05-20 22:05:37 +00:00