Intelli(non)sense Help

It’s actually not a Gradle issue, it’s just that occasionally the vscode engine gets confused. Follow the following steps to try and reset everything.

  1. Make sure you’re not getting any popups saying you’re in the wrong folder when opening vscode, or any other popups.
  2. Make sure you didn’t accidentally create a c_cpp_properties.json file in the .vscode folder. It breaks everything. If it’s there, delete it.
  3. Close all files in vscode. Leave vscode open.
  4. Run the refresh c++ intellisense command in vscode.
  5. Once that finishes, 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 one of the linuxathena one.
  6. Wait one minute (yes one whole minute don’t skip this)
  7. Open your main cpp file (not a header file). Intellisense should now be working.

Not closing vscode while doing this is key, closing it will reset the process. You just have to close all the tabs.

3 Likes