Summary
We want to improve package move refactoring as part of the larger effort to improve gopls' suite of refactoring tools (https://github.com/orgs/golang/projects/39/views/1) First, we should add telemetry for calling "rename" on a package declaration to observe current use of the feature.
The new counter will be: gopls/renamekind:package -- rename called on a package declaration
Proposed Config Change
https://go-review.googlesource.com/c/telemetry/+/707098
Comment From: gopherbot
Change https://go.dev/cl/707115 mentions this issue: gopls/internal/golang: add package rename counter
Comment From: gabyhelp
Related Issues
- x/telemetry/config: add counters for refactoring operations #74102 (closed)
- x/tools/gopls: improvements to package renaming #56184 (closed)
- x/tools/gopls: document Rename package feature #69624
- x/telemetry/config: add telemetry for add and remove struct tags refactoring operations #74628 (closed)
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
Comment From: madelinekalil
cc @findleyr
Comment From: gopherbot
Change https://go.dev/cl/707098 mentions this issue: internal/config: add counter for rename package