Vscode是否有一种方法可以找到某种类型的所有变量
我想找到我在整个项目中创建的某个GO结构类型的所有变量。也许有一个可以实现此目标的VSCODE扩展。
I want to find all variables of a certain go struct type I have created across my whole project. Maybe there is a VSCode extension that can achieve this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果右键单击结构,然后单击“查找所有参考”,您可以找到对该结构的所有引用。您可能需要安装的GO扩展名才能正常工作。
If you right click on a struct and then click on 'Find all references' you can find all references to that struct. You might need the Go extension installed for this to work.