How to put the Caret (cursor) in the right position?

Asked

Viewed 46 times

1

When I create a new method, it looks like this:

void teste(){|}

Note that the cursor is between {}, and when I press enter gets like this:

void teste(){
|}

Now the cursor is behind the }, and that’s my problem. Ideally the cursor behaves the same way it does when using the method if(), that is so:

if(){|}

And when I press enter:

if(){
   |
}

Notice that the cursor is now exactly where I start writing my code. How I do it, what happens in if(), happens with any method I create? How to change this cursor behavior?

I’m using codeblocks 16.01,

  • 1

    :( were to review alone

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.