Hi
Visual Studio keeps “forgetting” where the robot libraries are. I followed the steps that the WPI site instructs us to do. But I have had no luck. The steps are listed below. Has this worked for any body else?
C++ Intellisense - Files Open on Launch Don’t Work Properly
Issue: In C++, files open when VS Code launches will have issues with Intellisense showing suggestions from all options from a compilation unit and not just the appropriate ones or not finding header files. This is a bug in VS Code.
Workaround:
- Close all files in VS Code, but leave VS Code open
- Delete c_cpp_properties.json file in the .vscode folder, if it exists
- Run the “Refresh C++ Intellisense” command in vscode.
- In the bottom right you should see something that looks like a platform (linuxathena or windowsx86-64 etc). If it’s not linuxathena click it and set it to linuxathena (release)
- Wait ~1 min
- Open the main cpp file (not a header file). Intellisense should now be working