You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
${workspaceFolder}/** (recursive includes) will cause all those sub folders to get the lowest priority, so any subfolders that should be included before the other non-recursive includes should be explicitly added non-recursively, e.g. add ${workspaceFolder} to your includePath (and/or subfolders).
Multiple definitions should not appear if the current TU is compiled/configured correctly for IntelliSense and should only appear if it's falling back to the tag parser database (which has no concept of a priority/ordering). One potential workaround is to configure the files.exclude and C_Cpp.exclusionPolicy settings to exclude symbols from the unwanted folders or to set the C_Cpp.default.browse.path setting to a subset of the includePath setting (normally it inherits from the includePath).
This is my configuration:
But search for two definitions:
I just want it to show the first one, which is under the workspaceFolder. The second one I don't want to show.
What's wrong with my configuration?
The text was updated successfully, but these errors were encountered: