You must be registered to post a reply. Click here to register.
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: