Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Copy documentation from parent class

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
SWeini Posted - Sep 10 2006 : 1:55:12 PM
Hi!

I'm new to VAX and searching for a feature, but couldn't find it in the options or a hint in the forum. This is my problem:

Having these two classes ...

class CParent {
public:
// function foo
virtual void foo () = 0;
};
class CChild : public CParent {
public:
virtual void foo ();
};

... I want to show the documentation of CParent::foo in the tooltip while typing ...

CChild *p;
p->foo

... like it's shown while typing ...

CParent *p;
p->foo

Is there a way to achieve this without copying the comments?
If it can't be done, please think about implementing it. Should be a simple check whether member documentation exists and go up the class tree searching for a documentation.

Bye,
SWeini

(Using Visual Studio 2005, C++, VAX Build 1534)
7   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Sep 16 2006 : 3:30:20 PM
quote:
Originally posted by SWeini

Thanks!

Where are the cases listed? Where can I See when it's done? Sorry for that stupid question but I couldn't find them.

SWeini



it is a reasonable question, and comes up fairly often

one useful approach is to keep an eye on the history of changes, that is updated with each new build.

http://www.wholetomato.com/support/history.asp

we get quite a lot of suggestions, so it can take a long time before a given suggestion is implemented.
feline Posted - Sep 16 2006 : 3:27:26 PM
quote:
Originally posted by jpizzi

True, but the Liskov Substitution Principle says you shouldn't do that :)



i don't recognise that fancy name, but i would have called it "common sense". still, when has that stopped anyone? *rolls eyes*
jpizzi Posted - Sep 11 2006 : 11:02:27 PM
...and, when it is fixed, we will post here.
rhummer Posted - Sep 11 2006 : 08:52:48 AM
Those are for our own tracking, so we can quickly update the threads when they are fixed :)
SWeini Posted - Sep 11 2006 : 06:05:33 AM
Thanks!

Where are the cases listed? Where can I See when it's done? Sorry for that stupid question but I couldn't find them.

SWeini
jpizzi Posted - Sep 10 2006 : 6:29:18 PM
quote:
there is the possible problem that if the child class makes a significant change to what the method does
True, but the Liskov Substitution Principle says you shouldn't do that :)
feline Posted - Sep 10 2006 : 5:35:41 PM
this is not something that VA currently does. this is a sensible idea

there is the possible problem that if the child class makes a significant change to what the method does - then the comment will be wrong. so long as the tooltip clearly states the class it got the comment from this should not be to much of a problem.

i have put in a feature request

case=2453

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