views:

17

answers:

1

when I press b-space for code block it does:

{
(cursor here)
}

How can I go about accomplishing this? Thanks.

+2  A: 

Go to Tools/Options/Editor/Code Templates. Create a new template for the letter b (New, type b, Ok), then type the following into Expanded Text:

{
    ${cursor}
}

Finally, set Expand Template on to Space.

By the way, you can get the same behavior by pressing {, and hitting an enter.

candiru