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
 How to add space in ()?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

CharlieB
New Member

2 Posts

Posted - Sep 28 2010 :  5:04:39 PM  Show Profile  Reply with Quote
Is there a registry setting to have VAX add a space in empty function operators? Like so:
foo( ), rather than foo()

Thanks,
CharlieB

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 29 2010 :  03:43:20 AM  Show Profile  Reply with Quote
Can you please elaborate what would you like to do?

For functions created by one of the refactoring commands, you can modify the format of the new function:
VA Options -> Advanced -> Suggestions -> Edit VA Snippets (button)
Here, edit "Refactor Create Implementation" snippet

Also, you can take a look at our registry settings:

http://docs.wholetomato.com/default.asp?W254

Edited by - accord on Sep 29 2010 03:47:03 AM
Go to Top of Page

CharlieB
New Member

2 Posts

Posted - Sep 29 2010 :  7:51:10 PM  Show Profile  Reply with Quote
When VAX auto-completes a function name, it appends a pair of parens without spaces between them:
'foo' becomes 'foo()' with auto-complete.
Our coding standards dictate a space between the parens, so I would like this:
'foo' becomes 'foo( )'.
Every time a function name is auto-completed, I must navigate to the parens and add a space.

And yes, I had already checked the registry settings page, and hadn't found an answer.

Thanks,
Charlie
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 30 2010 :  03:54:03 AM  Show Profile  Reply with Quote
I have put in a feature request for this to see what the developers make of it:

case=50674
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19187 Posts

Posted - Jan 21 2013 :  11:59:59 AM  Show Profile  Reply with Quote
An option to do this was recently added. The details of this are given in this FAQ entry:

http://docs.wholetomato.com?W335

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