Skip to content

includePath does not recursively scan for header files. #4444

@Logonz

Description

@Logonz

Type: LanguageService

Describe the bug

  • OS and Version: Win7
  • VS Code Version: 1.39.2
  • C/C++ Extension Version: 0.26.0
  • Other extensions you installed (and if the issue persists after disabling them): Disabled all
  • A clear and concise description of what the bug is.

"include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (*)."
Settings and plugin has worked for a while and now suddenly it cannot find any header files.
It is almost as if the recursive functions are broken because it cannot find anything even if using
"${workspaceFolder}/**"

"${workspaceFolder}/include/**" does not work
1

"${workspaceFolder}/include" works but obviously does not do any recursive action
1

Expected behavior
Expected behavior is that it recursively scans the folders.

Additional context
{ "configurations": [ { "name": "WindowsLinux", "includePath": [ "${workspaceFolder}/**", "${workspaceFolder}/include/**" ], "defines": [ "_DEBUG", "UNICODE", "_UNICODE" ], "compilerPath": "C:/MinGW/bin/g++.exe", "cStandard": "c11", "intelliSenseMode": "gcc-x64", "cppStandard": "c++11" } ], "version": 4 }
{ "configurations": [ { "name": "WindowsLinux", "includePath": [ "${workspaceFolder}/**", "${workspaceFolder}/include" ], "defines": [ "_DEBUG", "UNICODE", "_UNICODE" ], "compilerPath": "C:/MinGW/bin/g++.exe", "cStandard": "c11", "intelliSenseMode": "gcc-x64", "cppStandard": "c++11" } ], "version": 4 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature: ConfigurationAn issue related to configuring the extension or IntelliSenseLanguage Servicebugmore info neededThe issue report is not actionable in its current state

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions