Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension crashes repeatedly when includePath contains non-folder paths in it #1979

Closed
bobbrow opened this issue May 11, 2018 · 0 comments
Closed
Labels
bug fixed Check the Milestone for the release in which the fix is or will be available. Language Service
Milestone

Comments

@bobbrow
Copy link
Member

bobbrow commented May 11, 2018

Starting with 0.17.0-insiders, a bug was introduced that will cause the extension to repeatedly crash if a non-folder path was added to the includePath in c_cpp_properties.json.

For example:

    "includePath": [
        "${workspaceFolder}/include/my_header_file.h"
    ]

should be just:

    "includePath": [
        "${workspaceFolder}/include"
    ]

If you actually meant to force include the file everywhere, then use the forcedInclude property.

@bobbrow bobbrow added bug Language Service fixed Check the Milestone for the release in which the fix is or will be available. labels May 11, 2018
@sean-mcmanus sean-mcmanus added this to the 0.17.1 milestone May 14, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Oct 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed Check the Milestone for the release in which the fix is or will be available. Language Service
Projects
None yet
Development

No branches or pull requests

2 participants