mirror of https://github.com/golang/go.git
When a prepare rename request is issued on an package import with no alias, the range returned by prepare rename has length 0. This by itself does not provide enough information to the client about what the original name of the import statement. By returning a range and a placeholder, this allows the client to correctly present the information about what is being renamed to the user. Change-Id: I191fdc666616d1ddf718d2a0b1461b9b645af879 Reviewed-on: https://go-review.googlesource.com/c/tools/+/360836 Trust: Suzy Mueller <suzmue@golang.org> Run-TryBot: Suzy Mueller <suzmue@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Peter Weinberger <pjw@google.com> |
||
|---|---|---|
| .. | ||
| test | ||
| usage | ||
| call_hierarchy.go | ||
| capabilities_test.go | ||
| check.go | ||
| cmd.go | ||
| cmd_test.go | ||
| definition.go | ||
| export_test.go | ||
| folding_range.go | ||
| format.go | ||
| help_test.go | ||
| highlight.go | ||
| implementation.go | ||
| imports.go | ||
| info.go | ||
| links.go | ||
| prepare_rename.go | ||
| references.go | ||
| remote.go | ||
| rename.go | ||
| semantictokens.go | ||
| serve.go | ||
| signature.go | ||
| subcommands.go | ||
| suggested_fix.go | ||
| symbols.go | ||
| workspace.go | ||
| workspace_symbol.go | ||