Skip to content

Recursive includes don't add paths used by forcedInclude files #2986

@sean-mcmanus

Description

@sean-mcmanus

Use a forcedInclude file that has a #include to a non-local file that is under a recursive include, e.g. if the includePath is "${workspaceFolder}/**", then the forcedInclude could use "#include <subfolder/file.h>".

Bug: The subfolder is incorrectly not getting added to the includePath for IntelliSense.

This was initially reported in bug #2610 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.quick fix

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions