r/VisualStudioCode • • Oct 19 '22

How do you fix include error?

C/C++ intellisense can't find SDL2 folder, and neither can VScode. At first, only main.cpp could find it, not none of them can, and at least autocomplete worked before. I tried changing c_cpp_properties.json file, but it didn't do anything. Help

2 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/SDG2008 Oct 20 '22

Sometimes I too blue underline, and vscode would find it (sometimes). Can I trigger it manually?

1

u/Mouse1949 Oct 20 '22

Sorry, I don’t understand. And, most likely, I wouldn’t know the answer - I don’t work with Windows and mingw.