Open shkit opened 3 years ago
Thanks for reporting this. The APIs we're using aren't expanding the typedefs for function parameters which we use for type checking with types defined in other source files during find all references.
Any news on this issue?
@koffes No news/progress on this issue (call hierarchy was implemented, but it also fails on this case). You can upvote this issue.
Bug type: Language Service
Describe the bug Find All References cannot find typedef'ed structure for function argument correctly.
Steps to reproduce
Expected behavior
All reference can be see in REFERENCES, not in OTHER REFERENCES RESULTS.
Code sample and logs
c_cpp_properties.json
C/C++: Log Diagnostics
from the VS Code command palette------- Workspace parsing diagnostics ------- Number of files discovered (not excluded): 5672 Number of files parsed: 23
tag parsing file: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\VC\TOOLS\MSVC\14.29.30133\INCLUDE\CODEANALYSIS\SOURCEANNOTATIONS.H sending compilation args for D:\HOME\KIT\WORKSPACE\CONSOLEAPPLICATION1\CONSOLEAPPLICATION1\MAIN.C include: D:\DATA\SOURCE\VCPKG\INSTALLED\X64-WINDOWS\INCLUDE include: D:\DATA\SOURCE\VCPKG\INSTALLED\X64-WINDOWS-STATIC\INCLUDE include: D:\DATA\SOURCE\VCPKG\INSTALLED\X86-WINDOWS\INCLUDE include: D:\DATA\SOURCE\VCPKG\INSTALLED\X86-WINDOWS-STATIC\INCLUDE include: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\VC\TOOLS\MSVC\14.29.30133\INCLUDE include: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\VC\TOOLS\MSVC\14.29.30133\ATLMFC\INCLUDE include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.20348.0\UM include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.20348.0\UCRT include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.20348.0\SHARED include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.20348.0\WINRT include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.20348.0\CPPWINRT define: _DEBUG define: UNICODE define: _UNICODE Shutting down IntelliSense server: D:\HOME\KIT\WORKSPACE\CONSOLEAPPLICATION1\CONSOLEAPPLICATION1\MAIN.C