c++ - VSCode (C++) - 查看包含的符号
问题描述
我正在寻找一种方法(可能是扩展名)来查看给定的包含语句使用了哪些符号。这将非常有用,尤其是查看哪些包含实际上是无用的。
我试过include-what-you-use
了,但这不是我想要的,它没有与 VS Code 集成(扩展似乎被破坏了)。
有任何想法吗 ?
示例:
// a.h
class A {};
class B {};
// c.h
#include a.h // some popup or smth to say only `A` is used
class C : public A {};
解决方案
推荐阅读
- javascript - Spring WebFlux 和 WebSocket
- javascript - React:HTML 详细信息在开始打开时无法控制地切换
- php - Python 等价于 PHP stdClass
- azure - Azure Kinect:如何获得彩色深度视频录制?
- windows - 遍历从 UNC 路径到本地目录的文件
- python - Google API 凭据刷新失败
- r - Isolating peaks in from time series data in R
- c# - 无法使用 sendkeys 登录 USPS 网站
- ios - IOS - 使用本地通知更新 AppBadge Count
- javascript - JavaScript,在数组内创建对象,仅包含 2 个对象