IWYU (include what you use).
VSCode Extension.
Command Shift P to IWYU (include what you use). C++ #include usage verification using the workspace as a base. Yellow means that the #include probably isn't being used. Red means the file wasn't found using the workspace as a base.
Link