Auto imports possible for ReSharper/Unreal?

Hi There,

My biggest issue with developing in Unreal Engine (or C++ in general)  is finding imports. I'm looking for a feature that I can't seem to find in ReSharper.


In any function in the .CPP file or anywhere in the .h file I start typing: UProjectileMov


A list of available classes pops up, one of which is UProjectileMovementComponent. I press enter and it auto includes the header.


It cannot find the class until I manually import "#include "GameFramework/ProjectileMovementComponent.h"


Finding proper imports is what takes the longest amount of time. How do I get this feature?

Comment actions Permalink


You need to enable "Show import items in basic completion" in the "ReSharper | Options | Code Editing | C++ | Code Completion" options page. This feature comes with a performance hit (since each time you complete R++ has to look at all the symbols in the solution to match them), so it's disabled by default.

Comment actions Permalink

Thank you. You just changed my life. Seriously.


Please sign in to leave a comment.