![]() ![]() When a folder is opened, the extension attempts to locate your system headers based on your operating system, but it does not know about any other libraries that your project depends on. The quickest way to locate a light bulb is to scroll to the top of the source file and click on any green squiggle that shows up under a #include statement. You can create or open this file by either using the "C/Cpp: Edit Configurations" command in the command palette or by selecting "Edit "includePath" setting" in the light bulb menu (see the screenshot below). The include paths are defined in the "includePath" setting in a file called c_cpp_properties.json located in the. If you're seeing the following message when opening a folder in Visual Studio Code, it means the C++ IntelliSense engine needs additional information about the paths in which your include files are located. From the official documentation of the C/C++ extension: Configuring includePath for better IntelliSense results
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |