1
0
mirror of https://github.com/golang/go synced 2024-09-30 18:28:32 -06:00
go/refactor/rename
Zac Bergquist cbfb669053 refactor/rename: perform renaming in doc comments
Attempt to update doc comments when renaming an identifier.
This reduces the amount of manual steps that need to be taken
when using gorename.

All occurrences of the old identifier are updated in the doc.
The update is done  using a regex to ensure that we replace
whole word matches only.

Fixes golang/go#17994

Change-Id: I4265021b5b34cf7d70bf43ad6ceee74ec132f185
Reviewed-on: https://go-review.googlesource.com/33452
Reviewed-by: Alan Donovan <adonovan@google.com>
2016-11-29 19:07:26 +00:00
..
check.go refactor/...: remove go1.8-tagged files 2016-11-04 21:29:48 +00:00
mvpkg_test.go refactor/rename: fix two bugs related to MS Windows' path separator 2016-07-15 14:58:04 +00:00
mvpkg.go refactor/rename: fix two bugs related to MS Windows' path separator 2016-07-15 14:58:04 +00:00
rename_test.go refactor/rename: perform renaming in doc comments 2016-11-29 19:07:26 +00:00
rename.go refactor/rename: perform renaming in doc comments 2016-11-29 19:07:26 +00:00
spec.go refactor/rename: fix crash with "." as -from package 2016-01-08 19:32:44 +00:00
util.go refactor/...: remove go1.8-tagged files 2016-11-04 21:29:48 +00:00