Re: NetworkTables, e.g. #include <networktables/NetworkTable.h>
If you can build successfully, these are Intellisense errors only. Sometimes the best way to fix Intellisense errors is to close all the editor windows, close vscode, optionally reboot, then open the project again in vscode.
My team is also getting these in C++, and if they are stopping your code from building these are the steps we used to resolve them on everyone’s computers:
1: Right click build.gradle
2: Click on Manage Vendor Libraries
3: Click Install new Libraries (offline)
4: Hit the check box for any libraries displayed there, even if you already installed them at an earlier date, and click ok
5: If step 3 returns “no new dependencies available”, click on Check for Updates (offline) instead, and repeat step 4 in that menu
6: If step 5 returns “No updates available”, you may have a different issue than we had. Check your include syntax, or maybe change from <> on the sides to “” or vice versa to see if that’s the issue. I wish you luck!