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

"Cannot open source file" errors on missing headers no longer appear with 1.19.9 with C_Cpp.errorSquiggles set to "enabled" #12134

Closed
sean-mcmanus opened this issue Mar 22, 2024 · 0 comments
Assignees
Labels
bug fixed Check the Milestone for the release in which the fix is or will be available. Language Service regression A bug that didn't exist in a previous release
Milestone

Comments

@sean-mcmanus
Copy link
Collaborator

sean-mcmanus commented Mar 22, 2024

Repro is to set C_Cpp.errorSquiggles to "enabled" instead of the default of "enabledIfIncludesResolve" and

#include <donotexist.h>

// enter as many newlines as required to make the "int i;" not visible. 
int i;

i.e. the bug requires there be some code that is not visible on the screen.

It works with 1.18.5.

Bug2: With enabledIfIncludesResolve, it only shows 1 missing include error at a time and the shown error can change depend on where the last IntelliSense update occurred.

@sean-mcmanus sean-mcmanus added bug Language Service regression A bug that didn't exist in a previous release labels Mar 22, 2024
@sean-mcmanus sean-mcmanus added this to the 1.19.10 milestone Mar 22, 2024
@sean-mcmanus sean-mcmanus changed the title "Cannot open source file" errors on missing headers no longer appear with 1.19.9 "Cannot open source file" errors on missing headers no longer appear with 1.19.9 with C_Cpp.errorSquiggles set to "enabled" Mar 22, 2024
@sean-mcmanus sean-mcmanus modified the milestones: 1.19.10, 1.20.0 Mar 22, 2024
@sean-mcmanus sean-mcmanus added the fixed Check the Milestone for the release in which the fix is or will be available. label Mar 25, 2024
@github-actions github-actions bot locked and limited conversation to collaborators May 11, 2024
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 regression A bug that didn't exist in a previous release
Projects
None yet
Development

No branches or pull requests

2 participants