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
 Quick info not showing constructor overload option
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kcbanner
New Member

Canada
4 Posts

Posted - Aug 20 2019 :  11:37:44 AM  Show Profile  Reply with Quote
Hello,

I'm seeing an issue where sometimes when hitting quick info, I don't get the popup that let's me see all the overloads.

An example:


    FMath::Min(); // hitting show info with cursor in parens shows overloads
    uint32(); // hitting show info with cursor in parens shows overloads
    TArray<uint32> Broken(); // hitting show info with cursor in parens does nothing


I know the third line is ambiguous, but usually my case is I type:


   TArray<uint32> Foo;


Then I go back and decide I want to use a non-default constructor, and I can't browse the overloads.

Is there option or hotkey to bring up the overload options dialog specifically in this case?

Thanks!

feline
Whole Tomato Software

United Kingdom
16086 Posts

Posted - Aug 20 2019 :  3:36:56 PM  Show Profile  Reply with Quote
I am assuming you are working with Unreal, from the TArray class name?

I am getting a similar result here, but no overloads are being listed for "uint32" for me. I am testing with VS2017 and VA 2341.2 and Unreal Engine.

For TArray, do you ever get overloads listed? I am not seeing any listed here, and am wondering how wide spread this effect is.

For now, if you use Alt-Shift-G, for Goto Related, on "TArray" one of the items in the menu should be "Constructors", which will list the constructors VA knows for this class. Not quite the same, and you need to remove this menu from the screen to actually type anything, but it should help to refresh your memory of the available constructors.

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

kcbanner
New Member

Canada
4 Posts

Posted - Aug 20 2019 :  3:44:23 PM  Show Profile  Reply with Quote
Yes, this is in an Unreal project.

The strange thing is if I add a comma, cursor down, and back up, and then hit quick info, I do get the popup:



I can also get it sometimes when typing out the line, but during the down arrow presses to browse the overloads it closes and moves my cursor down a line. So there seems to be either something going on with templated class constructors perhaps?

The Alt-Shift-G solution does work though! Thanks.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
16086 Posts

Posted - Aug 21 2019 :  10:12:19 AM  Show Profile  Reply with Quote
Thank you for the update, and I am seeing this outside of Unreal Engine as well. The trigger seems to be the "odd" C++ syntax where calling the constructor makes it look just like a function declaration:

case=70804

something that still sometimes looks odd to me

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

kcbanner
New Member

Canada
4 Posts

Posted - Aug 21 2019 :  10:16:39 AM  Show Profile  Reply with Quote
Thanks for taking a look!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000