Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 #include paths using long version
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

CamiloPD
Starting Member

Denmark
1 Posts

Posted - Nov 07 2023 :  3:11:03 PM  Show Profile  Reply with Quote
Hi,

I'm using visual assist for an Unreal Engine project. Whenever a type is not recognized I use the shortcut shif+alt+q and in the context menu I choose "Add include xxxx.h". The issue is that visual assist is including a huge long path to the file instead of the shorter version. For instance here VA adds this line:
#include "../../../../../../UE/UE_5.3/Engine/Source/Runtime/Engine/Classes/Animation/AnimSequenceBase.h"


Where it should be just:
#include "Animation/AnimSequenceBase.h"


Am I missing some setting or so?

Visual Studio version: Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.7.3

Visual Assist version: 10.9.2479.0 built 2023.01.19

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Nov 08 2023 :  05:41:41 AM  Show Profile  Reply with Quote
Unfortunately no, you are not missing something. Unreal Engine changed how it generates the Visual Studio projects in version 5.3, removing some of the expected base include directories, so VA no longer thinks that the short include path is valid, based on the Visual Studio configuration. We are going to need to work around this:

case=150119

for now, hopefully Add Include is still a bit useful, but you are going to need to edit the path manually to shrink it down to a sensible size.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000