I've faced an issue with intellisense in Visual Studio while working with TArrays. The problem is that intellisense is not able to find TArray's native functions like "Add()", "Emplace()", "Empty()", "Num()" etc and even iterate over it (cause "begin()" is not found as well). It's not even work with simple types e.g.
TArray<int> some_array;
some_array.Add(5);//class TArray<%params%> has no member "Add"
I've checked this issue with other containers like TMap and seems like it is ok. Reproduced both with VS and VAX intellisense. Anyway, it's quite annoying and makes intellisense highlighting useless. Compilation is ok. Seems like the issue appeared after update of VS, as it was working before update. Currently I'm using Microsoft Visual Studio Community 2019 Version 16.4.3 (and yeah, i didn't update it for a while, so probably the issue appeared not in the latest version of VS)
Any ideas? Thanks.
Seems like I found a root cause of this issue as well as solution for it. Issue was caused by Visual Studio cached files. I've deleted .vs folder in the directory of my project , reopen VS and it reindexed all project files from scratch. After this procedure the problem is gone.