Hi there,
What do you do when Visual Studio is not auto-predicting anything, but only on one script?
Close and re-open the script.
If that doesn‘t help there may be a toggle that turns highlighting on/off. Rider has that so I guess VS has too. If you can‘t find it delete all .sln and .csproj and related files from the project root and reopen VS.