Easy way to know what headers to include for classes/functions?

With the new (newer than a lot of the tutorials) system of having to include headers for all the classes we use, I find myself in the position of trying to use functions from classes I haven’t included yet. This happens a lot when following old tutorials, and I often don’t know what class the function belongs to. An example is GetWorldTimerManager. To figure out I needed to include TimerManager.h I had to google the specific function and hunt a little for someone who was doing the same thing.

Is there a better way to do this with intellisense/am I missing something in the documentation? The documentation for the function itself wasn’t clear as to what class it was from. Or is it just a matter of getting to know the API?

You should have click FTimerManager and look on bottom to see in which header this type is declared.

That’s it! Thanks man