Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Unreal Engine Add Include problem

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Maciej Posted - Nov 20 2023 : 09:55:40 AM
Hey there,

Every time I click ALT+SHIFT+Q and "Add Include" to any UE5 component class I get this long include path: #include <../../../../../../../Source/Runtime/Engine/Classes/Kismet/GameplayStatics.h>

How can I change it to a local path like #include "Kismet/GameplayStatics.h"?

I tried to change VA Options -> Code Generation -> Add Include Style and Add Include Path but none of those options gave me the expected result.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Nov 20 2023 : 10:29:27 AM
Unfortunately the way Visual Studio projects are generated and configured has been changed in Unreal Engine 5.3, and according to the C++ include directories that are set in Visual Studio the short path is no longer valid, so VA is generating the much longer path that does match the Visual Studio configuration.

We are going to need to change how Add Include works to fix this:

case=150119

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000