I noticed Textmate automatically formats the curvy brackets in the following way:
#test{}
any way to modify it like:
#test { }
Many thanks in advance.
ZulloP wrote:
I noticed Textmate automatically formats the curvy brackets in the following way:
#test{}
any way to modify it like:
#test { }
You’ll have to be a lot more specific. TextMate doesn’t “format” curly braces at all, to my knowledge. It does have a “typing pairs” feature which will insert a closing `}` when you type `{`. Is this what you are referring to?
Hello Jacob Rus4, yes, I'm talking about the "typing pairs” feature... sorry! I would like to have #test{[space][curosor here][space]}
I'hope is clear enoguh.
Thanks for your help.
ZulloP wrote:
Hello Jacob Rus, yes, I'm talking about the "typing pairs" feature.... sorry! I would like to have #test{[space][curosor here][space]}
I hope [that] is clear enoguh.
Okay, what you'll want to do then is to create a [macro][1], which first types `{`, then types two spaces, then moves one character to the left.
-Jacob
Many thanks for your help Jacob.
On May 5, 2007, at 8:42 PM, Jacob Rus wrote:
ZulloP wrote:
Hello Jacob Rus, yes, I'm talking about the "typing pairs" feature.... sorry! I would like to have #test{[space][curosor here][space]} I hope [that] is clear enoguh.
Okay, what you'll want to do then is to create a [macro][1], which first types `{`, then types two spaces, then moves one character to the left.
-Jacob
I just added a couple CSS formatting macros to the CSS bundle. You may find them useful.
thomas Aylott — subtleGradient — CrazyEgg — sixteenColors