1
0
mirror of https://github.com/golang/go synced 2024-11-18 09:34:53 -07:00
go/internal/imports
Heschi Kreinick 9283e6ae95 internal/imports: support completing import paths
Add a new autocomplete function that completes based on import path
prefix rather than package name prefix.

Updates golang/go#35877.

Change-Id: Ib768080ee99debfff1c8c870d22dc7b7459deadd
Reviewed-on: https://go-review.googlesource.com/c/tools/+/249419
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Danish Dua <danishdua@google.com>
2020-08-20 18:00:31 +00:00
..
testdata/mod imports: rename to internal/imports 2019-05-20 21:49:35 +00:00
fix_test.go internal/imports: support completing import paths 2020-08-20 18:00:31 +00:00
fix.go internal/imports: support completing import paths 2020-08-20 18:00:31 +00:00
imports_test.go internal/imports: require valid options, move LocalPrefix up 2020-07-07 20:02:13 +00:00
imports.go internal/imports: require valid options, move LocalPrefix up 2020-07-07 20:02:13 +00:00
mkindex.go imports: rename to internal/imports 2019-05-20 21:49:35 +00:00
mkstdlib.go internal/imports: update stdlib index for 1.15 2020-08-04 21:03:08 +00:00
mod_cache_test.go internal/imports: clean up dead code 2019-12-30 21:21:44 +00:00
mod_cache.go internal/imports: stop leaking listeners 2020-02-04 05:47:48 +00:00
mod_test.go internal/imports: fix crash when adding stdlib imports 2020-08-13 17:47:04 +00:00
mod.go internal/imports: fix crash when adding stdlib imports 2020-08-13 17:47:04 +00:00
sortimports.go internal/imports: require valid options, move LocalPrefix up 2020-07-07 20:02:13 +00:00
zstdlib.go internal/imports: update stdlib index for 1.15 2020-08-04 21:03:08 +00:00