Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Intellisense on a templated class not working

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
diehard2 Posted - Nov 21 2012 : 10:25:52 AM
Hi,

We have a very common(for out codebase) templated class that we can't seem to get VAX intellisense for. VAX knows that it's a class, I can jump to the header. The VA Outline works correctly (listing all of the methods), Alt-G will jump to the definition. But typing the . operator will not pull up any information and ctrl+space gives a message "Intellisense: No additional information available". What is interesting, is if I don't specify the template parameter I get intellisense. For instance

MyDynArray foo; //foo. will bring up member functions
MyDynArray<int> bar; //bar. will bring up nothing but an intellisense error

I have checked and unchecked the box for getting default intellisense from visual studio without effect. Unfortunately, I can't send the files as they're proprietary. I have added my information below. If there is anything I can do for troubleshooting or helping you out, please let me know.

VA_X.dll file version 10.7.1918.0 built 2012.10.26
Licensed to:
VA X:
DevEnv.exe version 10.0.40219.1 Professional
msenv.dll version 10.0.40219.1
Comctl32.dll version 6.10.7601.17514
Windows 7 6.1 Build 7601 Service Pack 1
8 processors (x86-64;
WOW64)
Language info: 1252, 0x409

Platform: Custom
Stable Includes:
C:\\libsupc++_gcc_4_7_0;
C:\\libsupc++_gcc_4_7_0\\ginclude;
C:\\libstd_gcc_4_7_0;
C:\\libstd_gcc_4_7_0\\std;
C:\\libstd_gcc_4_7_0\\c_compatibility;
C:\\libstd_gcc_4_7_0\\c_std;
C:\\libstd_gcc_4_7_0\\decimal;
C:\\full\\include;
C:\\full\\fire;
C:\\full;
C:\\libstd_gcc_4_7_0\\tr2;
C:\\libstd_gcc_4_7_0\\tr1;
C:\\libstd_gcc_4_7_0\\parallel;
C:\\libstd_gcc_4_7_0\\ext;
C:\\libstd_gcc_4_7_0\\c_global;
C:\\libstd_gcc_4_7_0\\c;
C:\\libstd_gcc_4_7_0\\bits;
C:\\libstd_gcc_4_7_0\\backward;

Other Includes:

Stable Source Directories:

1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Nov 22 2012 : 2:58:35 PM
Are you using macros to help create this template class?
Is this a simple template? A derived template class?

I am assuming there is something different about this class, somehow. If not the template its self, then perhaps the header file it is sitting in.

If you open VA's Find Symbol dialog and search for this template class, what does VA list? Is this the only class shown, or is there another class / symbol with the same name that could be confusing things?

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