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
 Alt+G on operator overloads
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Zeblote
Tomato Guru

183 Posts

Posted - Sep 27 2017 :  4:07:27 PM  Show Profile  Reply with Quote
Most of the time trying to go to an operator definition doesn't work (at least in unreal projects)

The tooltip shows that it knows which overload is interesting here:




However, Alt+G brings up a completely useless list of other operators.



feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Sep 27 2017 :  6:36:01 PM  Show Profile  Reply with Quote
We are aware of some problems with alt-g on overloaded operators, partly because its not always obvious to VA which operator overload is going to be called:

case=1229

If you place the caret into "TotalBounds", on the left hand side of the += and press Alt-Shift-G for the Goto Related menu, the bottom menu item should be "Goto Member..." which will list all of the members of this class, including the overloaded operators. Does this work reliably in your Unreal project?

zen is the art of being at one with the two'ness
Go to Top of Page

Zeblote
Tomato Guru

183 Posts

Posted - Sep 27 2017 :  7:07:11 PM  Show Profile  Reply with Quote
That works. However, basic "go to definition" in intellisense works totally fine here, so it'd make sense for VA to work aswell... at least only list operators that do something with an FBox instead of everything?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Sep 28 2017 :  10:47:14 AM  Show Profile  Reply with Quote
We are working to improve VA's parser, but the IDE intellisense parser works differently to VA's parser. As a result, there are some things that VA understands better, while there are other things that the IDE understands better. Currently this is one of those situations where the IDE is proving more useful.

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