Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Refactor find references broken

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
NOPcode Posted - Apr 26 2013 : 06:26:21 AM
At some point past build 1925 this has stopped working. This seems to be a problem with a project that has multiple solutions (exe + bunch of dlls for example). Previously, right-clicking on a member function in a class would show you everywhere that member function was being used. For the last two public builds, this does not work any more and will only show the usage either within the class itself, or if you're lucky, within the same containing solution .sln as the class, but never within other solutions in the project.

Rolling back to build 1925 fixes this. Clearing the history/rebuilding cache does not.
6   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Apr 30 2013 : 4:39:06 PM
When you go to the declaration of one of these problem functions, is the function declaration coloured by VA? Once you have opened the file with the declaration, does Find References now work correctly in your code?

I am wondering if VA is having problems finding the file that contains the declaration, or if it is having problems understanding the declaration.
sean Posted - Apr 30 2013 : 4:37:20 PM
Is the function defined in a file that you would expect to show up in the Open File in Solution dialog (ctrl+shift+o)?

Or is it only available via the include setting in one of your projects?
NOPcode Posted - Apr 30 2013 : 2:18:24 PM
Also, it doesn't resolve the problem. With 1925, I can put the cursor on a function that is declared outside of my project in a 3rd party library, and "Go" or "Find References" will work. With post 1925, this will often not work (but sometimes will if I exit and return back into Visual Studio) and I get the usual error about a function not being defined. This also effects color coding, so in 1939 most of my code looks like it's "broken" when it's really not.
sean Posted - Apr 30 2013 : 1:15:34 PM
There's no question our documentation efforts lag our release efforts. The change history page at http://www.wholetomato.com/support/history.asp is often times the sole documentation.

For updates of previous installations, the option should have been set to the previous (solution-wide) behavior. Did you install to a new machine? Or a new IDE?

There are actually three places where the option is set:
1) the "Search all projects" item in the context menu of the Find References results list
2) the second to last button in the toolbar of the Find References results window (tooltip with text "Display references from all projects")
3) the "Search all projects" checkbox in the Rename dialog
NOPcode Posted - Apr 30 2013 : 12:14:01 PM
That seems to be a rather broken ui; bury a significant program operation changing feature as an undocumented (that I could find) option in the results window. It should be in the config options and/or the VAssitX menu.
sean Posted - Apr 26 2013 : 12:23:02 PM
Build 1929 introduced an option to limit the scope of Find References and Rename to just a single project.

If you try 1929 or 1936 again, right-click in the Find References results window and see if "Search all projects" is checked.

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