Posted by jamie Wed, 07 Nov 2007 21:32:15 GMT
Found a handy Textmate shell variable that can be used to remove parentheses when using snippets. I prefer this as I generally don’t use parentheses for assertions in tests and if I want them, I can add them myself.
It will for example, alter the asrt snippet from:
assert_respond_to(object, :method)
to:
assert_respond_to object, :method
Just click the ‘Advanced’ tab in preferences and then ‘Shell Variables’, add a variable named TM_MINIMIZE_PARENS with the value of ‘yes’ and you’re good to go.
