Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 comments from headers are not displayed in tooltip

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
igi Posted - Oct 12 2011 : 10:32:23 AM
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)

5   L A T E S T    R E P L I E S    (Newest First)
support Posted - Dec 16 2011 : 2:12:15 PM
case=61994 is fixed in build 1862
accord Posted - Oct 14 2011 : 9:18:45 PM
Funny that the tooltip describes the expected behavior of the checkbox, so my question was a little bit unnecessary
feline Posted - Oct 14 2011 : 6:12:33 PM
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
igi Posted - Oct 13 2011 : 6:39:52 PM
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()
accord Posted - Oct 13 2011 : 4:57:51 PM
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.

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