Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Quick info not showing constructor overload option

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
kcbanner Posted - Aug 20 2019 : 11:37:44 AM
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!
4   L A T E S T    R E P L I E S    (Newest First)
kcbanner Posted - Aug 21 2019 : 10:16:39 AM
Thanks for taking a look!
feline Posted - Aug 21 2019 : 10:12:19 AM
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
kcbanner Posted - Aug 20 2019 : 3:44:23 PM
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.
feline Posted - Aug 20 2019 : 3:36:56 PM
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.

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