Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Semicolon inside function clause

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
znakeeye Posted - Jun 28 2009 : 4:29:37 PM
Quite often I want to put a semicolon at the end of the line - immediately. This requires quite much work as it is now.

Consider this feature:
[code]void foo(int a, int b) {}

1) I type foo( and VAX produces:
foo(|)
2) I type 10,20;
foo(10,20|); <-- VAX puts the semicolon here!

A semicolon is never valid in this context (unless inside a string). Hence, this feature makes perfect sense. You can move on to other parts of the code, without having to add that stupid semicolon.
3   L A T E S T    R E P L I E S    (Newest First)
znakeeye Posted - Jun 29 2009 : 09:46:07 AM
Forget that. I just remembered this is (afaik) valid syntax:
foo({1,2});
znakeeye Posted - Jun 29 2009 : 09:44:58 AM
Similarly, when typing '{':

foo(bar|) <-- '{' yields:

foo(bar)
{
    |
}
accord Posted - Jun 29 2009 : 02:59:47 AM
We are considering doing something like this:

case=296

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