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
 GotoRelated/Derived does not cross visual projects
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rico
Junior Member

12 Posts

Posted - Apr 17 2015 :  03:59:48 AM  Show Profile  Reply with Quote
Hello,
When I ask for derivated class of a base class I do not get all derivated. It seems to me that I get only classes being in the same project of visual (.vcproj).

Note also that on my files architecture, the sources are not in same folder as the project file (.vcproj).
Actually I have:

root
 |
 |_ Folder1 (with sources of project1)
 |
 |_ Folder2 (with sources of project2)
 |
 |_ BuildVS2008
       |
       |_ Folder1 (with project1)
       |
       |_ Folder2 (with project2)


My VAX=
License: (1-user license) Support ends 2015.11.17
VA_X.dll file version 10.9.2059.0 built 2015.02.11
DevEnv.exe version 9.0.30729.1 Professional
msenv.dll version 9.0.30729.1
Font: Courier New 13 (pixels)
Comctl32.dll version 6.10.7601.17514
Windows 7 6.1 Build 7601 Service Pack 1
12 processors (x86)
Language info: 1252, 0x40c

Platform: Custom
Stable Includes:
E:\\Microsoft\\VisualStudio_9.0\\VC\\include;
E:\\Microsoft\\VisualStudio_9.0\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;

Other Includes:

Stable Source Directories:
E:\\Microsoft\\VisualStudio_9.0\\VC\\atlmfc\\src\\mfc;
E:\\Microsoft\\VisualStudio_9.0\\VC\\atlmfc\\src\\mfcm;
E:\\Microsoft\\VisualStudio_9.0\\VC\\atlmfc\\src\\atl;
E:\\Microsoft\\VisualStudio_9.0\\VC\\crt\\src;



Edited by - rico on Apr 17 2015 04:01:33 AM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 17 2015 :  1:57:13 PM  Show Profile  Reply with Quote
Can you please try whether unticking the following checkbox makes any difference?
VA Options -> Projects and Files -> Restrict Goto (alt+g) result to active project

If not, can you please open the OFIS dialog (alt+shift+o) and check if the file where the derived class lives is in the list? (Just type the filename to filter.)
Visual Assist parses all files that are part of the solution, and those files should appear in this list.
Go to Top of Page

holedigger
Whole Tomato Software

145 Posts

Posted - Apr 17 2015 :  2:32:19 PM  Show Profile  Reply with Quote
Does GotoRelated on the derived class show the base classes correctly? Are any of the classes templates, in namespaces, or typedef'd?

Whole Tomato Software
Go to Top of Page

rico
Junior Member

12 Posts

Posted - Apr 21 2015 :  03:42:04 AM  Show Profile  Reply with Quote
quote:
Originally posted by accord

Can you please try whether unticking the following checkbox makes any difference?
VA Options -> Projects and Files -> Restrict Goto (alt+g) result to active project

If not, can you please open the OFIS dialog (alt+shift+o) and check if the file where the derived class lives is in the list? (Just type the filename to filter.)
Visual Assist parses all files that are part of the solution, and those files should appear in this list.



- Unticking the checkbox does not make any difference
- Yes, the files are present
Go to Top of Page

rico
Junior Member

12 Posts

Posted - Apr 21 2015 :  04:34:13 AM  Show Profile  Reply with Quote
quote:
Originally posted by holedigger

Does GotoRelated on the derived class show the base classes correctly? Are any of the classes templates, in namespaces, or typedef'd?



- Actually yes, one of the derivated class is a template, and it is the one that is listed as a derivate (the other ones are not in the list)

- Yes the base class is always correct (even on the template type class) (note that it seams more easy as the base class is present on the derivated class definition).


Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 21 2015 :  6:30:46 PM  Show Profile  Reply with Quote
If you take a look at one of the derived classes which the command fails to list, do you see anything "uncommon"? For example, do you use macros to define the class or part of the class, or macros to define the namespace where the class lives in? Is there any "complex" macro before the class? e.g. macro calling other macros, etc. Macros may confuse the parser in rare circumstances it depends where and how you use them.
Go to Top of Page

rico
Junior Member

12 Posts

Posted - Apr 22 2015 :  02:31:05 AM  Show Profile  Reply with Quote
quote:
Originally posted by accord

If you take a look at one of the derived classes which the command fails to list, do you see anything "uncommon"? For example, do you use macros to define the class or part of the class, or macros to define the namespace where the class lives in? Is there any "complex" macro before the class? e.g. macro calling other macros, etc. Macros may confuse the parser in rare circumstances it depends where and how you use them.



No, there are no macros at all.
The only noticeable point is that in all of the derivated classes there is multiple inheritance (of quite always same list of classes) and as I already said, one of the derivated is templated.
Note also That I have same "uncomplete list" whatever is the base class I choose to get list of derivated classes.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Apr 22 2015 :  11:27:21 PM  Show Profile  Reply with Quote
I am seeing the same problem here, and the Restrict Goto (alt+g) results to active project setting is not making any difference for me either:

case=89293

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 - Jun 11 2015 :  2:44:05 PM  Show Profile  Reply with Quote
case=89293 is fixed in build 2068
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