| Author |  Topic  |  | 
              
                | pk_aswKetchup Master
 
     
 
                Czech Republic66 Posts
 | 
                    
                      |  Posted - May 31 2014 :  06:32:05 AM     
 |  
                      | Hi, may I ask why a lot of keywords/functions are suggested at the first place, but I have never actually called them? Typical example is "return" keyword, this keyword is used so frequently I'd like to have it at the first place, because it's very likely I'll use it.
 
 Screenshot:
 
  (here "ret" is a template function from Boost which is probably included from the current solution; boost_src\\include\\boost\\lambda\\detail.ret.hpp)
 
 Also I'd prefer firstly to list functions/macros from my current project, or keywords I've used last X hours.
 
 Thank you,
 Petr
 |  | 
              
                | accordWhole Tomato Software
 
      
 
                United Kingdom3287 Posts
 | 
                    
                      |  Posted - Jun 01 2014 :  2:12:47 PM     
 |  
                      | Keywords used most frequently should already be considered, first. But I was able to reproduce the problem: 
 case=77844
 
 
 quote:Also I'd prefer firstly to list functions/macros from my current project
 
 We are considering doing this at some point:
 
 case=10535
 
 However, smart suggestions has improved this to some extent. For example, system symbols are not suggested until user has typed a few letters. Also, there are some context-dependent smart suggestion types which makes the list shorter and more relevant:
 http://docs.wholetomato.com/default.asp?W172
 |  
                      | Edited by - accord on Jun 01 2014  2:15:46 PM
 |  
                      |  |  | 
              
                | felineWhole Tomato Software
 
      
 
                United Kingdom19247 Posts
 | 
                    
                      |  Posted - Jun 03 2014 :  7:15:32 PM     
 |  
                      | Another thought, specific to the return keyboard, the default snippets that VA install have a snippet for "return" with the shortcut "r", so that simply typing "r" is enough to have "return" suggested, so long as you are using VA Snippets: 
 http://docs.wholetomato.com/default.asp?W171
 |  
                      | zen is the art of being at one with the two'ness
 |  
                      |  |  | 
              
                | accordWhole Tomato Software
 
      
 
                United Kingdom3287 Posts
 | 
                    
                      |  Posted - Jun 05 2014 :  4:52:00 PM     
 |  
                      | Feline is right. In fact, you can create a new snippet with the shortcut "ret" as a workaround. Snippets are always preferred over any other item in the list. |  
                      |  |  | 
              
                |  |  Topic  |  |