Skip to content

x/tools/gopls: add telemetry for refactor -> add and remove struct tags operations #74568

@madelinekalil

Description

@madelinekalil

Telemetry did not count any users that are using VSCode's modify struct tags command (https://screenshot.googleplex.com/5Y6R9KuXXv5Z55Q). Before we can fully remove it (as part of the effort to remove third-party dependencies from VSCode), we should also verify that people are using gopls' refactoring tools for adding and removing struct tags.

Note: we should not actually remove the VSCode command until we have implemented dialogue prompting in gopls, as this will allow users to specify the tag names to add and remove. Currently, the gopls codeactions can either add "json" tags or remove all struct tags, but this action cannot be customized.

Metadata

Metadata

Assignees

Labels

Telemetry-ProposalIssues proposing new telemetry counters.ToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions