Author |
Topic  |
|
CharlieB
New Member

2 Posts |
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 |
|
accord
Whole Tomato Software
    
United Kingdom
3287 Posts |
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 |
Edited by - accord on Sep 29 2010 03:47:03 AM |
 |
|
CharlieB
New Member

2 Posts |
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
Whole Tomato Software
    
United Kingdom
3287 Posts |
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 |
 |
|
feline
Whole Tomato Software
    
United Kingdom
19187 Posts |
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 |
zen is the art of being at one with the two'ness |
 |
|
|
Topic  |
|