| Author |  Topic  |  | 
              
                | SWeiniNew Member
 
  
 
                2 Posts | 
                    
                      |  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)
 |  
                      | Edited by - SWeini on Sep 10 2006  1:59:39 PM
 |  | 
              
                | felineWhole Tomato Software
 
      
 
                United Kingdom19247 Posts
 | 
                    
                      |  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
 |  
                      | zen is the art of being at one with the two'ness
 |  
                      |  |  | 
              
                | jpizziTomato Guru
 
      
 
                USA642 Posts
 | 
                    
                      |  Posted - Sep 10 2006 :  6:29:18 PM     
 |  
                      | quote:True, but the Liskov Substitution Principle says you shouldn't do that :)there is the possible problem that if the child class makes a significant change to what the method does
 
 |  
                      | Joe Pizzi
 |  
                      |  |  | 
              
                | SWeiniNew Member
 
  
 
                2 Posts | 
                    
                      |  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
 |  
                      |  |  | 
              
                | rhummerTomato Guru
 
      
 
                USA527 Posts
 | 
                    
                      |  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 :) |  
                      | Tools Engineer - Raven Software
 VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64
 
 |  
                      |  |  | 
              
                | jpizziTomato Guru
 
      
 
                USA642 Posts
 | 
                    
                      |  Posted - Sep 11 2006 :  11:02:27 PM     
 |  
                      | ...and, when it is fixed, we will post here. |  
                      | Joe Pizzi
 |  
                      |  |  | 
              
                | felineWhole Tomato Software
 
      
 
                United Kingdom19247 Posts
 | 
                    
                      |  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*
 |  
                      | zen is the art of being at one with the two'ness
 |  
                      |  |  | 
              
                | felineWhole Tomato Software
 
      
 
                United Kingdom19247 Posts
 | 
                    
                      |  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.
 |  
                      | zen is the art of being at one with the two'ness
 |  
                      |  |  | 
              
                |  |  Topic  |  |