Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 How to add space in ()?

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
CharlieB Posted - Sep 28 2010 : 5:04:39 PM
Is there a registry setting to have VAX add a space in empty function operators? Like so:
foo( ), rather than foo()

Thanks,
CharlieB
4   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jan 21 2013 : 11:59:59 AM
An option to do this was recently added. The details of this are given in this FAQ entry:

http://docs.wholetomato.com?W335
accord Posted - Sep 30 2010 : 03:54:03 AM
I have put in a feature request for this to see what the developers make of it:

case=50674
CharlieB Posted - Sep 29 2010 : 7:51:10 PM
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
accord Posted - Sep 29 2010 : 03:43:20 AM
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

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