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
 VAX does not find the correct method...
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

alexG
Junior Member

Germany
13 Posts

Posted - Dec 07 2006 :  2:17:54 PM  Show Profile  Reply with Quote
Hi,

here's the problem :

My Net2003 solution has of a few projects in it.

When I'm editing the file MainFrm.cpp in app1 and I search a method called 'StartApp' by using the combobox at the top of the document,
VAX finds the method 'StartApp' in app2 and opens the file MainFrm.cpp of app2.

App1 is selected as the 'Startup Project' in Net2003...

Best regards
Alex

feline
Whole Tomato Software

United Kingdom
18942 Posts

Posted - Dec 08 2006 :  1:13:58 PM  Show Profile  Reply with Quote
In this case what are you expecting to happen?

VA does not know if a function defined in project 2 is available to project 1 or not, so it offers you the choice of jumping to it.

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

alexG
Junior Member

Germany
13 Posts

Posted - Dec 11 2006 :  03:49:03 AM  Show Profile  Reply with Quote
Hi,

I would expect that VA starts searching for methods which are declared in the current file / current class / current active project first, and then iterates trough the list of projects in the solution...

Regards
Alex

Alexander Golde
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18942 Posts

Posted - Dec 11 2006 :  12:40:29 PM  Show Profile  Reply with Quote
In this particular case is this method defined in the current file or class?

Normally alt-g (the go to method) is very reliable and useful.

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

alexG
Junior Member

Germany
13 Posts

Posted - Dec 11 2006 :  1:11:46 PM  Show Profile  Reply with Quote
Hi,
I have removed the second project and added it to the solution again.
VA can find the StartApp in the first project, but when I set the 2nd project as active and open the MainFrm.cpp, selecting 'StartApp' in the upper right combobox has no effect at all. In addition to that, it starts eating my MOUSEWHEEL events and prevents the VStudio from scrolling down the source... :(
After a focus change ( I click into a different window ), I get the scrolling back.

Alexander Golde
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18942 Posts

Posted - Dec 11 2006 :  1:34:12 PM  Show Profile  Reply with Quote
One problem at a time.

If you click into the context or definition fields then focus is placed into this field. You now need to click back into the editor to get focus back there again.

If you click on the down arrow next to the definition field then focus goes to the list that appears.
Clicking into the editor closes the list, but leaves focus in the definition field, this should be fairly obvious since the content should be highlighted. So it will take two mouse clicks to get focus back into the editor.

the keyboard shortcut alt-g offers the same functionality as this pull down list, and may be more useful for you since it does not remove focus from the editor.

http://www.wholetomato.com/products/features/goto.asp

I am still trying to work out what your code looks like, and not getting very far.

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

sean
Whole Tomato Software

USA
2817 Posts

Posted - Dec 11 2006 :  9:20:10 PM  Show Profile  Reply with Quote
It seems like alexG and feline may not be talking about the same thing. I'm not sure what combobox is in question.

alexG: Can you post a screenshot showing what combobox you are talking about?
Go to Top of Page

alexG
Junior Member

Germany
13 Posts

Posted - Dec 12 2006 :  10:21:01 AM  Show Profile  Reply with Quote
Here's the screenshot :



Alexander Golde
Go to Top of Page

rhummer
Tomato Guru

USA
527 Posts

Posted - Dec 12 2006 :  11:11:01 AM  Show Profile  Reply with Quote
That combo box you selected is from the IDE not VA X. That one provided by the IDE almost never works for me. The VA X one above that works much better IMO.

Tools Engineer - Raven Software
VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64

Go to Top of Page

alexG
Junior Member

Germany
13 Posts

Posted - Dec 12 2006 :  12:02:26 PM  Show Profile  Reply with Quote
Ok. That's painful. Time to use my Cilice for a few hours :)

Alexander Golde
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18942 Posts

Posted - Dec 12 2006 :  3:21:39 PM  Show Profile  Reply with Quote
This may offer some helpful information:

http://www.wholetomato.com/products/features/context.asp
http://www.wholetomato.com/products/features/definition.asp

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