[TxMt] Change in behaviour of new-line with braces - CSS, PHP, JS, maybe all grammars?

Dominic Morgan dom at d3r.com
Mon Dec 9 13:21:52 UTC 2013


In one of the recent updates (I think), the default behaviour when hitting
return inside a new set of braces seems to have changed.

Previously opening a pair of braces and hitting return would result in the
following:

{
// caret here
}

Now I get:

{
// caret here}

This is affecting all the grammars I commonly use - PHP, CSS, JS but
presumably is global.

Did I inadvertently change a setting somewhere or is this a change of the
default TextMate behaviour that I missed?

Either way, is there a way to return to the old behaviour? I have done a
few searches and seen some mentions in certain languages that you may be
able to build a snippet to fire on enter if the syntax supports specific
enough scoping but I'm failing to get it to work for me.

Dom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20131209/bdbabe76/attachment.html>


More information about the textmate mailing list