forked from golang/tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
Showing
2 changed files
with
173 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters