1
0
mirror of https://github.com/golang/go synced 2024-11-18 14:34:39 -07:00
go/internal/lsp/testdata
Danish Dua 84ab570110 internal/lsp: add completion suggestions for import statements
This change adds completion within import blocks. Completions are suggested by directory depth of import so end user isn't shown a large list of possible imports at once. As an example, searching import for prefix "golang" would suggest "golang.org/" and then subdirectories under that (ex: "golang.org/x/"") on successive completion request and so on until a complete package path is selected.

Change-Id: I962d32f2b7eef2c6b2ce8dc8a326ea34c726aa36
Reviewed-on: https://go-review.googlesource.com/c/tools/+/250301
Run-TryBot: Danish Dua <danishdua@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-08-27 18:03:53 +00:00
..
lsp internal/lsp: add completion suggestions for import statements 2020-08-27 18:03:53 +00:00
missingdep internal: add call hierarchy cmd and lsp scaffolding 2020-08-07 20:22:52 +00:00
missingtwodep internal: add call hierarchy cmd and lsp scaffolding 2020-08-07 20:22:52 +00:00
unused internal/lsp/cache: refactor go mod tidy error logic 2020-08-07 22:43:23 +00:00
upgradedep internal/lsp/mod: add go mod vendor and go mod tidy lenses 2020-08-18 00:58:47 +00:00