| Author | 
                
                  Topic   | 
                  | 
              
              
                | 
                 replay 
                Junior Member 
                   
                 
                
                21 Posts  | 
                
                  
                    
                      
                       Posted - Nov 15 2005 :  06:42:55 AM
                        
                      
  | 
                     
                    
                       i have 2 shortcuts with the autotext not working fine since several versions... one is /* and the other is /** but it always generate the first one | 
                     
                   
                 | 
              
              
                | 
                 feline 
                Whole Tomato Software 
                      
                 
                
                United Kingdom 
                19249 Posts  | 
                
                  
                    
                      
                       Posted - Nov 15 2005 :  6:32:50 PM
                        
                      
  | 
                     
                    
                      |  which IDE and version of VA are you using?  which language are these rules for?  i have just added two rules with these shortcuts to C++, using VS 2003, C++ and VA 1432 and they both work correctly. | 
                     
                    
                        zen is the art of being at one with the two'ness | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 replay 
                Junior Member 
                   
                 
                
                21 Posts  | 
                
                  
                    
                      
                       Posted - Nov 16 2005 :  11:28:38 AM
                        
                      
  | 
                     
                    
                       VA 1432 & VS2003 i tried to remove the shortcuts and rebuild it, but it's always the same If i swap the order in the list of the shortcuts, the 1st one is always used | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 feline 
                Whole Tomato Software 
                      
                 
                
                United Kingdom 
                19249 Posts  | 
                
                  
                    
                      
                       Posted - Nov 16 2005 :  5:25:44 PM
                        
                      
  | 
                     
                    
                       can you open the relivent file:
  "C:\\Program Files\\Visual Assist X\\Autotext\\Cpp.tpl" for C++ "C:\\Program Files\\Visual Assist X\\Autotext\\CS.TPL" for C#
  in a text editor, search for the sections for your two autotext rules, and post it here please.  this way i can be sure i am using the same rules as you, then i can test this.  you do need to tell me the language you are using, because this may be relevant. | 
                     
                    
                        zen is the art of being at one with the two'ness | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 replay 
                Junior Member 
                   
                 
                
                21 Posts  | 
                
                  
                    
                      
                       Posted - Nov 23 2005 :  10:34:29 AM
                        
                      
  | 
                     
                    
                       i'm only using it in cpp.tpl, so here it comes:
  a::/*: /*************************************************************************************************  *  * $end$  */ a::/**: /************************************************************************************************/ $end$
  | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 feline 
                Whole Tomato Software 
                      
                 
                
                United Kingdom 
                19249 Posts  | 
                
                  
                    
                      
                       Posted - Nov 23 2005 :  3:17:46 PM
                        
                      
  | 
                     
                    
                       odd.  i have added these two to my C++ autotext rules, using VS2003 and VA 1432, and i get one or the other.  for ease i have named them, so there cannot be any confusion with my existing comment autotext rules.
  i am seeing:
 
  
 
  
  can you try giving these rules names in the edit autotext dialog -> title field
  just to make sure that there is no confusion over what is going on here. | 
                     
                    
                        zen is the art of being at one with the two'ness | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 replay 
                Junior Member 
                   
                 
                
                21 Posts  | 
                
                  
                    
                      
                       Posted - Nov 24 2005 :  04:38:40 AM
                        
                      
  | 
                     
                    
                      |  there is no title for both rules | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 support 
                Whole Tomato Software 
                      
                 
                
                5566 Posts  | 
                
                  
                    
                      
                       Posted - Nov 24 2005 :  12:58:12 PM
                        
                      
  | 
                     
                    
                       We get behavior that feline gets. Autotext for /* and /** co-exist without problem.
  Make sure the "expanded code" for the /* entry is not blank. If it's blank, VA X ignores it. | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 replay 
                Junior Member 
                   
                 
                
                21 Posts  | 
                
                  
                    
                      
                       Posted - Nov 25 2005 :  05:57:03 AM
                        
                      
  | 
                     
                    
                      |  Ok, with the title set for both entries, it worx now, thx | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                |   | 
                
                  Topic   | 
                  |