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
 comments from headers are not displayed in tooltip
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

igi
New Member

Russia
2 Posts

Posted - Oct 12 2011 :  10:32:23 AM  Show Profile  Reply with Quote
System info:
quote:
VA_X.dll file version 10.6.1859.0 built 2011.10.02
DevEnv.exe version 10.0.40219.1 Ultimate
msenv.dll version 10.0.40219.1
Comctl32.dll version 6.0.2900.6028
Windows XP 5.1 Build 2600 Service Pack 3, v.6055
2 processors (x86)

Visual C++

My display settings:





DESCRIPTION
This bug only appears for inline functions implemented in the header file!



STEP 1
Only create a class definition.
If you hover over the name of the function, a tooltip will appear:




STEP 2
In the same file create inline implementation for BugFun.
After this, when you hover over a function name (at any point in the program), comments will no longer appear in the tooltip:





BUT
This bug does NOT occur if the class is declared as a template:



... or if you write a new comment near the function implementation. But this case is very inconvenient, if inline functions are implemented in another file (eg *.inl)

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Oct 13 2011 :  4:57:51 PM  Show Profile  Reply with Quote
So if I understand correctly, the expected behavior is to show tooltips from header files when the checkbox "display comments from source files when available" is ticked?

This options is not ticked on your screenshot. So 2 cases are possible:
1. You did want it to be checked, so the screenshot was took in a wrong state.
2. The screenshot is right and you expect comments from headers when the option is not ticked because "source" means c/cpp files for you and not headers.
Go to Top of Page

igi
New Member

Russia
2 Posts

Posted - Oct 13 2011 :  6:39:52 PM  Show Profile  Reply with Quote
Option "display comments from source files when available" - is not ticked in my case.

The arrow shows what to look out for.

Do you agree with me that this is not correct on last screenshot? =)
CBug::CBug::BugFun()
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Oct 14 2011 :  6:12:33 PM  Show Profile  Reply with Quote
I am seeing both effects here, now I have worked out what to look for. Comments from the declarations of inline functions are not being shown in the tooltips:

case=61994

The class name being shown twice in the tooltip is a known problem:

case=863

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

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Oct 14 2011 :  9:18:45 PM  Show Profile  Reply with Quote
Funny that the tooltip describes the expected behavior of the checkbox, so my question was a little bit unnecessary
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Dec 16 2011 :  2:12:15 PM  Show Profile  Reply with Quote
case=61994 is fixed in build 1862
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