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
 VA´s Goto missing the point
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Feb 10 2020 :  05:14:39 AM  Show Profile  Reply with Quote
I have mouse middle click set to "Goto" in the VA config. In my C# project i have somehwere an enum which defines a "Any".

When I middle click on a linq expression .Any() I get:

1) middle click taking me to the enum Any
2) VS ctrl+Click taking me to the linq definition of the extension Any()
3) VA telling me that the symbol is unrecognized when selecting "Find references" from the VA context menu.

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Feb 10 2020 :  05:16:18 AM  Show Profile  Reply with Quote
Interesting though, after been at the LINQ definition of Any() where VS took me, VA also knows about it now. (but continues telling that the symbol is unknown for "Find References")

Edited by - Uniwares on Feb 10 2020 05:58:02 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19063 Posts

Posted - Feb 11 2020 :  2:56:34 PM  Show Profile  Reply with Quote
I have VA not running Find References on "Any" here, and Alt-g initially going to an enum item.

Given that "Any" is being used inside a linq expression, what, if anything, do you expect VA to do with Find References here? Or were you using this as a test to see if VA correctly understood "Any" in a linq statement?

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

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Feb 11 2020 :  3:58:51 PM  Show Profile  Reply with Quote
if anything, i expect it to have (at least) the same understanding of Any() as intellisense does, which would make it somehow redundant, so actually VA could just not do anything at all. Or do it better than VS.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19063 Posts

Posted - Feb 13 2020 :  07:54:32 AM  Show Profile  Reply with Quote
After some more reading up on Any and Linq I have set up a better and more sensible test case, and now have something that Find References should be able to work on, but it is not available. So I have added this to the Linq not being handled case:

case=962

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