1
0
mirror of https://github.com/golang/go synced 2024-11-18 21:05:02 -07:00
go/internal/lsp/cmd
Suzy Mueller 4adf7a708c internal/lsp: add identifier renaming
This change provides support to rename identifiers within a single
package.

The renaming is performed by finding all references to an identifier,
and then creating text edits to replace the existing text with the
new identifier.

Editing an import spec is not supported.

Fixes #27571

Change-Id: I0881b65a1b3c72d7c53d7d6ab1ea386160dc00fb
Reviewed-on: https://go-review.googlesource.com/c/tools/+/182585
Run-TryBot: Suzy Mueller <suzmue@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-06-19 21:54:42 +00:00
..
check_test.go internal/span: change URI.Filename so it just returns the filename 2019-06-10 21:39:43 +00:00
check.go internal/lsp: fix race in delivering diagnostics to the command line client 2019-05-20 19:38:31 +00:00
cmd_race_test.go internal/lsp: extract the common test logic 2019-04-22 16:50:02 +00:00
cmd_test.go internal/lsp: add identifier renaming 2019-06-19 21:54:42 +00:00
cmd.go internal/span: change URI.Filename so it just returns the filename 2019-06-10 21:39:43 +00:00
definition_test.go internal/span: change URI.Filename so it just returns the filename 2019-06-10 21:39:43 +00:00
definition.go internal/lsp: add shutdown handling 2019-05-15 23:16:32 +00:00
export_test.go internal/lsp: refactor query definition test to allow adding a new test 2019-03-18 20:06:54 +00:00
format_test.go internal/span: change URI.Filename so it just returns the filename 2019-06-10 21:39:43 +00:00
format.go internal/span: change URI.Filename so it just returns the filename 2019-06-10 21:39:43 +00:00
info.go internal/lsp: move PrintVersionInfo to the debug package 2019-06-03 15:29:06 +00:00
query.go internal/lsp: fix query cmd usage 2019-04-22 18:06:03 +00:00
serve.go internal/lsp: remove the redundant Server.Run() call. 2019-06-19 15:21:02 +00:00