Closed creativetags closed 11 years ago
I've posted by accident the same thing in Textmate's issue tracker, so I'll repost it here because it's more detailed.
When you have something like this, where pipe is a caret
.class{|}
and press return it changes to this
.class{
|}
but in TM1 it was more convenient changing to this
.css{
|
}
I know that behavior like this in TM2 should be described inside bundles, so I'm asking for an update to the bundles to support this. Or at least a comment just for this specific case, because "return, return, up, tab" every time is killing me and using snippets to create this structure is not a good solution I think.
The same problem here. But I found a simple solution -- you can just edit snippet called "properties { } ( } )" in "Other Actions" tab. Replace code with
{
$0
}
remove Tab Trigger and set { as a Key Equivalent. Works just perfect :)
Thanks, it works, but the thing is sometimes I don't need these linebreaks and want to write single-line CSS.
Fixed in 9866006cf585aa5334b24051703885f327ee0d6f.
In 1.x a return between {} was treated specially giving you an indented caret on a blank line, this no longer works in the alpha.
This is a complicated issue that was explained best in http://lists.macromates.com/textmate/2012-January/034108.html