Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Alt-G shows multiple choices

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
apayani Posted - Aug 19 2011 : 10:26:20 AM
I have a problem ,
When I press Alt-G on a type to go to the definition , visual assist shows a menu with multiple choices , but only the one which in the current project should be opened ,

I have several projects in parallel in a solution in VS2008 , they have some files which have the same name , but the projects are not related , why Visual assist shows those irrelevant options in Alt-G menus ?

A similar problem which was about pairing header and source files existed but it was fixed on 2009 , I hope you could fix this problem as well.
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Aug 19 2011 : 2:20:35 PM
Unfortunately this is a known problem. I believe that this is:

case=56104

Currently, Visual Assist looks only for the scope, but you are right, the problem you have mentioned shouldn't happen in unrelated files. The thing is that Visual Assist pre-parses everything, every file when you load the solution, and considers everything as a potential source that you might want to work with. That said, you can start typing symbol names from headers that are not even included and Visual Assist will help you. (Later, you can use the "Add Include" refactoring to add them.)

So if you have symbols with the same name, but in a different namespace or in a different class, etc. if will be differentiated. But two symbols in the same (e.g. global) scope are considered the same symbol by VA.

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