Have you tried rebuilding the index? ("Rebuilding the Index" on the page linked below)
https://wpilib.screenstepslive.com/s...p-test-program
If you've already tried that, try closing Eclipse, navigating to your user home directory C:\Users\USERNAME on Windows and locate and delete the wpilib folder, then re-open Eclipse.