1
0
mirror of https://github.com/golang/go synced 2024-10-01 12:48:33 -06:00
go/internal/lsp/testdata/lsp/primarymod
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
..
%percent internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
address internal/lsp: support multi-dereferencing completion candidates 2020-02-11 04:52:51 +00:00
analyzer internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
anon internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
append internal/lsp: fix panic in builtin completions 2020-04-02 17:53:26 +00:00
arraytype internal/lsp/source: filter candidates when type name required 2020-02-12 15:05:39 +00:00
assign internal/lsp: add a test for internal imports handling 2020-02-25 18:38:19 +00:00
bad internal/lsp: add type error fixes to existing diagnostics 2020-04-08 01:45:16 +00:00
badstmt internal/lsp/source: prefer unexported and non-func candidates 2020-03-23 21:07:25 +00:00
bar internal/lsp/source: prefer unexported and non-func candidates 2020-03-23 21:07:25 +00:00
basiclit internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
baz internal/lsp/cache: improve completion after dangling selector 2020-02-13 22:46:42 +00:00
builtins internal/lsp/source: untangle completion type comparison 2020-02-24 18:12:40 +00:00
casesensitive internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
cast internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
cgo internal/lsp: use TypecheckCgo when possible 2020-05-13 17:53:51 +00:00
cgoimport internal/lsp: use TypecheckCgo when possible 2020-05-13 17:53:51 +00:00
channel internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
circular internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
codelens internal/lsp: add run test code lens 2020-05-12 13:19:52 +00:00
comments internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
complit internal/lsp: add comment completions for remaining exported symbols 2020-05-04 02:29:51 +00:00
constant internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
danglingstmt internal/lsp/cache: fix crash fixing curlies near EOF 2020-02-14 17:25:38 +00:00
deep internal/lsp/source: prefer unexported and non-func candidates 2020-03-23 21:07:25 +00:00
errors internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
fieldlist internal/lsp/source: filter candidates when type name required 2020-02-12 15:05:39 +00:00
folding internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
foo internal/lsp/source: improve completions at file scope 2020-02-20 22:48:06 +00:00
format internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
func_rank internal/lsp/source: prefer unexported and non-func candidates 2020-03-23 21:07:25 +00:00
funcsig internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
funcvalue internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
fuzzymatch internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
generate x/tools/gopls: run go generate through CodeLens 2020-03-17 04:34:34 +00:00
generated Revert "internal/lsp: hide analysis diagnostics from generated files" 2020-04-30 19:28:56 +00:00
godef internal/lsp: fix docs on hover for var/const blocks 2020-05-18 19:53:06 +00:00
good internal/lsp: correctly handle type aliases when formatting 2020-04-23 20:53:58 +00:00
highlights internal/lsp: remove unknown dependency from highlight tests 2020-02-26 20:52:01 +00:00
implementation internal/lsp/source: support inverse "implementations" 2020-03-02 21:28:54 +00:00
importedcomplit internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
imports internal/lsp: simplify and correct fixing imports for CodeAction 2020-05-18 22:54:12 +00:00
index internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
interfacerank internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
keywords internal/lsp/source: offer loop keyword completions in range stmt 2020-03-12 04:57:24 +00:00
labels internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
links internal/lsp/tests: fix regexp for removing links that contain versions 2020-02-19 22:25:53 +00:00
maps internal/lsp/source: filter candidates when type name required 2020-02-12 15:05:39 +00:00
multireturn internal/lsp/source: fix completion crash with untyped assignee 2020-03-02 21:29:26 +00:00
nested_complit internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
nodisk internal/lsp/source: prefer unexported and non-func candidates 2020-03-23 21:07:25 +00:00
noparse internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
noparse_format internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
rank internal/lsp/source: untangle completion type comparison 2020-02-24 18:12:40 +00:00
references internal/lsp: fix references for transitive dependencies 2020-04-02 20:53:30 +00:00
rename internal/lsp: refactor references/rename/implementations 2020-03-27 17:09:18 +00:00
selector internal/lsp/source: prefer unexported and non-func candidates 2020-03-23 21:07:25 +00:00
signature internal/lsp: handle different package names in signature help 2020-04-27 20:59:12 +00:00
snippets internal/lsp: handle different package names in signature help 2020-04-27 20:59:12 +00:00
statements internal/lsp/source: offer smart "append()" completions 2020-05-20 22:05:37 +00:00
suggestedfix internal/lsp/cmd: improve flexibility of suggested fixes 2020-03-06 14:31:35 +00:00
symbols internal/lsp/tests: provide SymbolInformation.Name in @symbol annotations 2020-04-21 04:22:56 +00:00
testy internal/lsp: handle different package names in signature help 2020-04-27 20:59:12 +00:00
typeassert internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
typeerrors internal/lsp/analysis: add quickfix for "no result values expected" 2020-03-27 18:57:59 +00:00
types internal/lsp: correctly handle type aliases when formatting 2020-04-23 20:53:58 +00:00
undeclared internal/lsp: fix erroneous documentation for struct fields 2020-04-15 03:45:06 +00:00
unimported internal/lsp/source: fix cached package name matching 2020-05-27 17:50:42 +00:00
unresolved internal/lsp/source: filter candidates when type name required 2020-02-12 15:05:39 +00:00
unsafe internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
variadic internal/lsp/source: fix false positive "..." in completions 2020-04-25 04:34:58 +00:00
workspacesymbol internal/lsp: rename workspace symbol test symbols to avoid clash 2020-05-11 20:27:23 +00:00