-1

Custom closing bracket position for CSS

Илья 12 years ago 0

Here is an example of what is happening now:

.class {


}


So when I'm typing ".class {" SublimeText automatically inserts "}" (which is correct). Then I press Enter and get this:

.class {

    #CURSOR_POSITION#

}


But what I really want is (attention to the closing bracket - it's indented by additional tab):

.class {

    #CURSOR_POSITION#

    }


I've even seen (ok, it was only once) in some editor special setting for this. Now I start using SublimeText (which is cool!) and I feel that it can be customized in a such way but I'm not quite sure how.