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
 Feature Requests
 Feature: "Rename Files" to handle generated.h
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Zeblote
Tomato Guru

183 Posts

Posted - Mar 17 2018 :  8:39:27 PM  Show Profile  Reply with Quote
If I'm renaming a header that has a generated.h include, it would be nice if it also updated the

#include "FileName.generated.h"

to

#include "NewFileName.generated.h"

sean
Whole Tomato Software

USA
2817 Posts

Posted - Mar 20 2018 :  8:58:49 PM  Show Profile  Reply with Quote
That would make sense. case=115255
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jul 13 2018 :  3:26:43 PM  Show Profile  Reply with Quote
case=115255 is addressed in build 2283.
Go to Top of Page

Zeblote
Tomato Guru

183 Posts

Posted - Aug 06 2018 :  05:51:41 AM  Show Profile  Reply with Quote
This does not appear to work in build 2283.2.

Before:



Rename:



Generated include not updated:


Edited by - Zeblote on Aug 06 2018 05:51:54 AM
Go to Top of Page

ChrisG
Whole Tomato Software

USA
299 Posts

Posted - Aug 06 2018 :  3:22:32 PM  Show Profile  Reply with Quote
Hello Zeblote,

Currently, Visual Assist requires that the *.generated.h file exist for the include update to work properly. The *.generated.h files are created during build time.

If Visual Assist finds the *.generated.h file, you will see it listed under "Files to rename" in the Rename Files dialog.

I was also able to identify an issue that could cause the include update to fail even if the *.generated.h file exists, and have opened case 118239.

Thank you for taking the time to report this issue to us!
Go to Top of Page

Zeblote
Tomato Guru

183 Posts

Posted - Aug 06 2018 :  3:51:43 PM  Show Profile  Reply with Quote
The generated header exists, since the project has been built before. However, it does not show in that menu and attempting to use VA to open it from the #include doesn't work. Maybe this is related to changes in 4.20?
Go to Top of Page

ChrisG
Whole Tomato Software

USA
299 Posts

Posted - Aug 06 2018 :  3:58:27 PM  Show Profile  Reply with Quote
Interesting, what is the full path to the BRCharacter.generated.h file? Is it something like the following?

c:\depot\brickadia\intermediate\build\win64\ue4editor\inc\brickadia\brcharacter.generated.h

Edited by - ChrisG on Aug 06 2018 4:01:37 PM
Go to Top of Page

Zeblote
Tomato Guru

183 Posts

Posted - Aug 06 2018 :  4:04:30 PM  Show Profile  Reply with Quote
Yeah, that's the exact path. I've seen a bunch of reports where people have problems with intellisense not finding the generated headers in 4.20, could a missing include path in the project files be the issue here?

Edited by - Zeblote on Aug 06 2018 4:05:03 PM
Go to Top of Page

ChrisG
Whole Tomato Software

USA
299 Posts

Posted - Aug 06 2018 :  5:48:34 PM  Show Profile  Reply with Quote
Yes, this does seem to be an issue with 4.20.1. I have added a note to the case.

We will definitely be looking into this.

Thanks again!
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Sep 24 2018 :  2:28:19 PM  Show Profile  Reply with Quote
case=118239 is fixed in build 2291.
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