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
 VAX 1201: inheriting unrelated comments
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Nov 24 2003 :  12:15:43 PM  Show Profile
Given the following code fragment:
enum somenums
{
  se_one, // some value one
  se_two, // some value two
  se_threee // some value three
};

typedef struct mystruct
{
 // some definitions
};


The struct mystruct will inherit the last comment from the previous definition. Tooltips will show "some value three" as comment for the struct.

support
Whole Tomato Software

5566 Posts

Posted - Nov 27 2003 :  01:28:39 AM  Show Profile
Fixed in the next build(1204).

Whole Tomato Software, Inc.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - May 12 2004 :  11:30:12 AM  Show Profile
For some reason this one is back, with a little variation though.

Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - May 12 2004 :  2:26:15 PM  Show Profile
We cannot reproduce the problem, probably because we do not have enough of a code sample. As well, we suspect you have "Prefer default Intellisense" enabled. Hovering tooltips from VA X for enums are typically more descriptive.



If the "prefer" option is disabled, can you post a bit more of your code? Text preferred.

If "prefer" is enabled, hover to get a default tooltip. Remain on the symbol, slide the cursor slightly to the right and hover again. You get a VA X tooltip.

Whole Tomato Software, Inc.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - May 12 2004 :  2:48:51 PM  Show Profile
The full code is

#ifndef __LEONCLC_H_
#define __LEONCLC_H_

#include "resource.h"       // main symbols
#include <comutil.h>


enum somenums
{
	se_one, // some value one
	se_two, // some value two
	se_threee // some value three
};

typedef struct mystruct
{
	// some definitions
};

#endif //__LEONCLC_H_


PDI is enabled, and no I dont get any more descriptive tooltip. What you see on the shot is all that I get for this. The HCB is not more desciptive either.
I wonder where you get the "se_three = 2" from...
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - May 12 2004 :  11:33:03 PM  Show Profile
Still no luck.

As for the descriptive tooltip... hover over se_three. After the tooltip appears, move the cursor slightly to the right and wait again.

Whole Tomato Software, Inc.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - May 13 2004 :  12:11:20 AM  Show Profile
no way, no tooltip for other than what you see on the shot.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - May 13 2004 :  08:13:37 AM  Show Profile
i have copied the code into a new blank .h in my current project. using VAX 1235 and VS .NET 2003 with PDI turned off.

i am getting a tooltip saying:
enum se_threee


i have tried moving the mouse cursor both left and right, and i always get this tooltip. so no comment bug, but also no helpful VAX tooltip

telling VAX to reparse the current file makes no difference.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000