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.
Example:
In any function in the .CPP file or anywhere in the .h file I start typing: UProjectileMov
Expected:
A list of available classes pops up, one of which is UProjectileMovementComponent. I press enter and it auto includes the header.
Actual:
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?
Please sign in to leave a comment.
Hello,
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.
Thank you. You just changed my life. Seriously.