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
 Closing quote/brace question
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MrDoomMaster
Tomato Guru

251 Posts

Posted - Jun 17 2016 :  4:10:20 PM  Show Profile  Reply with Quote
When I type a quoted string, or type ( to begin function parameters, the closing " and ) are inserted for me.

To skip past these closing characters, I ether have to ARROW RIGHT or type the same closing character again. Then my caret will skip over it.

However, this seems to defeat the purpose of automatically inserting the closing characters. Is there a better way to make the caret jump over the closing characters when I'm done?

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 17 2016 :  8:13:29 PM  Show Profile  Reply with Quote
Arrow right is already only 1 keystroke, so it is a good question what can be even easier.

One solution came to my mind though: we are planning to implement a feature that would place semi colon in function parameter list at end of statement.

Or it could work in a situation like this as well:

do
{
    // some code
} while(i > 0|)


Pressing ; would move the caret outside and put the semicolon there.

However, with "", the situation is more tricky because you may want to put the semicolon inside them instead of outside:


std::string str = "sometext|"


You can't know if the semicolon should put inside or outside.

The feature request is:
case=296
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