How to set VisualStudioCode for unreal engine 4?

I’ve installed the Cpp and Csharp extensions and unreal auto-generate the filePath lines.
So according to the tutorials online this is supposed to work now.
But I don’t get any results when I try to use “Find all references”.
It only works for “Go to definition” and not always too.