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
 Show all overloads in Find Symbol and Goto Member
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Zeblote
Tomato Guru

183 Posts

Posted - Apr 18 2018 :  10:11:37 AM  Show Profile  Reply with Quote
I often use these to quickly check whether a certain API exists, so it would be very useful if they could show all overloads. For example:



accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 19 2018 :  02:46:15 AM  Show Profile  Reply with Quote
Is this class "FVector" defined in a cpp file? I'm able to repro the problem in a source file, but not in a header. I've put in a bug report for that:

case=115868
Go to Top of Page

Zeblote
Tomato Guru

183 Posts

Posted - Apr 19 2018 :  06:50:44 AM  Show Profile  Reply with Quote
No, it's in a header like usual. This is not isolated to this class anyways, it looks like Find Symbol only shows the first found overload of any method.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 19 2018 :  10:14:48 AM  Show Profile  Reply with Quote
quote:
it looks like Find Symbol only shows the first found overload of any method.


I looked into this some more in a larger codebase and has found a case that fails - if one is inline and the other is not:


class OverloadTest
{
public:
	void Method1();
	void Method1(int a) {}
};


Although in your case something else is going on because non-of the overloads are inline.

Would it be possible to send the header file in where this occurs?
It would be kept private and only used for testing purposes. I know it's often not possible.

Otherwise, let's hope that when we got to this case, we may fix your case as well while doing general testing for this.

Edited by - accord on Apr 19 2018 10:16:39 AM
Go to Top of Page

Zeblote
Tomato Guru

183 Posts

Posted - Apr 19 2018 :  10:59:53 AM  Show Profile  Reply with Quote
The file is part of Unreal Engine:
https://www.unrealengine.com/en-US/ue4-on-github
https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Source/Runtime/Core/Public/Math/Vector.h
Go to Top of Page

Zeblote
Tomato Guru

183 Posts

Posted - Apr 19 2018 :  11:03:54 AM  Show Profile  Reply with Quote
Here's another random example of this:



Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 20 2018 :  08:14:19 AM  Show Profile  Reply with Quote
Thank you for the details. I was able to reproduce both problems and I've added steps to the case. These will be a good guide of what kind of problems are you seeing.
Go to Top of Page

Zeblote
Tomato Guru

183 Posts

Posted - May 02 2018 :  10:44:01 PM  Show Profile  Reply with Quote
This appears to be fixed in build 2270 (I now have over 100k new symbols!) but is not mentioned in the release notes. Can you confirm?
Go to Top of Page

Zeblote
Tomato Guru

183 Posts

Posted - May 02 2018 :  11:57:45 PM  Show Profile  Reply with Quote
It's already being super useful too. Best bug fix :D
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 03 2018 :  08:19:45 AM  Show Profile  Reply with Quote
If it was fixed, it wasn't via case=115868
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