Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 #include paths using long version

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
CamiloPD Posted - Nov 07 2023 : 3:11:03 PM
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
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Nov 08 2023 : 05:41:41 AM
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.

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