| Author | 
                
                  Topic   | 
                  | 
              
              
                | 
                 SvenC 
                Tomato Guru 
                      
                 
                
                Germany 
                339 Posts  | 
                
                  
                    
                      
                       Posted - Dec 18 2003 :  12:57:28 PM
                        
                      
  | 
                     
                    
                       Hi,
  method parameter auto completion is working much better now.
  Two things left:
  1) after selecting the method parameter tooltip, the method parameters are inserted correctly *but* the completion tooltip appears again. So I can press tab, tab, tab and get three identical parameter lists appended.
  2) the const modifier for methods is ignored when auto completing method parameters.
  Bye, SvenC | 
                     
                   
                 | 
              
              
                | 
                 support 
                Whole Tomato Software 
                      
                 
                
                5566 Posts  | 
                
                  
                    
                      
                       Posted - Dec 18 2003 :  5:55:30 PM
                        
                      
  | 
                     
                    
                       We suspect problem #1 occurs only when defining a method with one argument. We expect this fix in build 1209.
  We cannot reproduce problem #2. VA X suggests const in our test cases. Can you provide an example of what fails? | 
                     
                    
                        Whole Tomato Software, Inc. | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 SvenC 
                Tomato Guru 
                      
                 
                
                Germany 
                339 Posts  | 
                
                  
                    
                      
                       Posted - Dec 19 2003 :  03:26:21 AM
                        
                      
  | 
                     
                    
                       In VS.NET 2003:
  MyClass.h ############################################ #pragma once
  class MyClass { public:   int foo(long a, double b, const char* c) const; }; ############################################
 
  In MyClass.cpp
  // a) type int MyClass::f // b) auto complete method // c) select the provided proto type // -> results in
  int MyClass::foo(long a, double b, const char* c)
  // "see" the missing const modifier for method foo at // the end of the line
  HTH, SvenC | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                |   | 
                
                  Topic   | 
                  |