Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Closing quote/brace question

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
MrDoomMaster Posted - Jun 17 2016 : 4:10:20 PM
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?
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Jun 17 2016 : 8:13:29 PM
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

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000