Intellisense not showing folder when including header files? (Visual Studio 2022)


When I am trying to include a header file in C++ code, Visual Studio is supposed to give me a list of folders and header files available. After installing (and deleting!) Copilot on Visual Studio, however, it somehow stopped showing folders, and all I get is a list of header files in the same directory where the current code is located.

Shows the headers, not the folders

If I attempt to insert the folder name first, Intellisense will not work.

Inserting folder name won't work

All the necessary directory paths were added to "Additional Include Directories" in the project properties. And now I have no idea what the problem is since it worked properly before installing Copilot.

Any help would be appreciated.
Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *