Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 "Insert ()" should work better with templates
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tommie
New Member

8 Posts

Posted - Aug 28 2018 :  09:35:13 AM  Show Profile  Reply with Quote
The "insert ()" functionality of Visual Assist is very useful, but doesn't work properly when typing a template specialization function such as:
function<float>( a, b )
What happens is when you type a '<' to complete the function name, is you get the following code:
function(<)
This is obviously not useful. Better would be either of the following:
  • Automatically insert a closing '>' when accepting a method, and insert the closing ')' only after the opening '(' has been typed
  • Add an option to disable "Insert ()" after accepting a method, but still enable the "insert closing brackets" option
  • Never add the () after accepting a method with a '<' character
Let me know if this is clear!

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Aug 28 2018 :  10:14:38 AM  Show Profile  Reply with Quote
This is something we are aware of, and are aiming to fix at some point:

case=460

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000