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
 Feature Requests
 Automatic placing of ending ) and "
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tailsu
Senior Member

37 Posts

Posted - Sep 04 2007 :  04:35:42 AM  Show Profile  Reply with Quote
Suppose I have a function void foo(char*)

When I write 'foo(' VA automatically places the ) to produce 'foo()'.
But when I open a " to pass a literal string to foo, VA's not smart enough to place the ending " before the closing paren and leaves me at foo("*cursor*)

Wouldn't smarter placing of ending "s and others be a nice feature to have?

sl@sh
Tomato Guru

Switzerland
204 Posts

Posted - Sep 04 2007 :  10:33:44 AM  Show Profile  Reply with Quote
Looks like a bug to me. When I type char* str = "| then I do get the closing ".
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Sep 04 2007 :  3:09:39 PM  Show Profile  Reply with Quote
A reasonable point:

case=8561

zen is the art of being at one with the two'ness
Go to Top of Page

tailsu
Senior Member

37 Posts

Posted - Sep 05 2007 :  07:29:28 AM  Show Profile  Reply with Quote
Another use case is when you have void foo()
and somewhere you copy-and-paste foo and get:
foo;

writing ( after foo won't automatically put a ).
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Sep 05 2007 :  1:56:40 PM  Show Profile  Reply with Quote
Interesting, I am seeing the same thing. I would have expected a closing bracket to be inserted.

case=8623

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