Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Numerical values in parameter 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
SvenR Posted - Aug 27 2008 : 11:48:12 AM
VAX shows numerical values in parameter tooltips instead of the correct definition:



Create is defined as

BOOL	Create	(__in LPCSTR pszFileName, __in DWORD dwDesiredAccess = GENERIC_READ, 
     __in DWORD dwShareMode = FILE_SHARE_READ | FILE_SHARE_WRITE, __in DWORD dwCreateDisposition = OPEN_EXISTING, 
     __in DWORD dwFlagsAndAttributes = 0, __in_opt LPSECURITY_ATTRIBUTES lpSecurityAttributes = NULL);
11   L A T E S T    R E P L I E S    (Newest First)
SvenR Posted - Sep 05 2008 : 1:48:08 PM
@accord: Yes, I do. I only see the arrow tooltip with the numerical values while typing parameters.

@cartesian: It's not a VA issue. I have deinstalled VA for testing purpose but the numerical values are still shown in the tooltip.
cartesian Posted - Sep 05 2008 : 1:19:38 PM
I get the exact same problem.

Locally defined types are fine, but if it's a referenced type you don't get the correct parameter names; only their type names / whether it's passed by value or reference.

I'm pretty sure it's not a vs2008 bug though. Because back when Intellisense actually worked in my project, before I got VA, I was able to see the parameter names.
accord Posted - Sep 04 2008 : 4:52:53 PM
If you hover the mouse pointer over "Create", and then move the pointer to somewhere else, and then hover again over "Create", do you always see VAX's tooltip?
SvenR Posted - Sep 02 2008 : 4:44:47 PM
Yes, I do.

Create is a method of an object (CxFile). If I write

CxFile test;
if (test.Create(

I see VA's tooltip:



After the first parameter is added

CxFile test;
if (test.Create(szFileName,

VS shows its own tooltip (the one from the first post).

After 'Escape' and 'Ctrl+Shift+Enter' VA's tooltip is shown again. But after every "," VS shows the tooltip with the up/down arrows.
feline Posted - Aug 29 2008 : 11:39:50 AM
If you disable VA with the menu option:

VAssistX -> Enable/Disable Visual Assist X

do you still see this problem? I am puzzled by the fact that you only see this problem sometimes. I would expect it to happen all of the time, or none of the time, but if I understand correctly it seems to depend on how the tooltip is triggered.
SvenR Posted - Aug 28 2008 : 10:03:48 AM
No, unfortunately not.

If I enable

VA Options -> Advanced -> Fonts & Colors -> Apply coloring to Tooltips

then the parameter tooltip (with up/down arrows) is colored by VA, but the text stays the same (as you said). So I have to live with it.

Thanks for your help.
feline Posted - Aug 28 2008 : 09:10:44 AM
If you turn on:

VA Options -> Advanced -> Display -> Display comments from source files when available
VA Options -> Advanced -> Display -> Enable automatic Quick Info ToolTips

then VA will do its best to show its tooltips instead of letting the IDE show tooltips. Does this make any difference?
SvenR Posted - Aug 28 2008 : 03:37:28 AM
feline is right. With disabled VAX (1647) the same tooltip is shown (also with bold parameters). So it's a bug in VS 2008.

Is VA able to show its own tooltip automatically while typing the different parameters?
feline Posted - Aug 27 2008 : 6:06:10 PM
That is an IDE tooltip, VA tooltips do not have the up and down arrows to move between the overloads. VA is having an effect on the tooltip, since it is making one of the parameters bold, but VA should not change text in an IDE tooltip into numbers *puzzled*
accord Posted - Aug 27 2008 : 5:03:02 PM
Which version of Visual Assist do you use? I don't see any problems with 1647.
If you turn off Parameter information, Visual Assist will also stop showing param. info tooltips.
So please disable Visual Assist by

VAssistX -> Enable/Disable Visual Assist X

to see, if this is an IDE or a VAX tooltip. If you see this tooltip while VAX is disabled, this is an IDE tooltip.

Do you see this problem with disabled VAX?
SvenR Posted - Aug 27 2008 : 12:06:40 PM
Is it possible, that this tooltip comes from VS? When I uncheck "Parameter information" in VS 2008 options dialog (Text Editor - All Languages), I don't get any tooltip automatically while typing parameters (only with Ctrl+Shift+Space). And in the Ctrl+Shift+Space tooltip the default values are shown correctly.

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