Open snehara99 opened 5 months ago
@gcampbell-msft as per our convo
Currently only 1 target and file group (the last combo) is used to create the workspace browse configuration for c/c++ extension
@snehara99 Thanks for posting this issue, could you please provide an example? :)
Hi @v-frankwang, @gcampbell-msft already has full context on this, but issue #3729 is an example of this where the main target/fileGroup combo was ignored and only the last generated target/fileGroup combo was used, producing the error mentioned in that issue. I have a temporary fix in pre-release for only that specific issue by filtering out generated fileGroups, but ideally there is a better solution that isn't so specific. You can see the corresponding PR that points to the specific section of code where this is a problem.
@gcampbell-msft actually told me to open this issue, so I'll add the stale-exempt label so that this issue isn't closed by the stale bot
Brief Issue Summary
Currently only 1 target and file group (the last combo) is used to create the workspace browse configuration for c/c++ extension. Maybe working with the C/C++ extension to pass workspace browse configurations for all combinations is a good move which can potentially fix intellisense issues.
Check updateConfigurationData() in cpptools.ts
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response