I usually type the close the bracket right after the open one. However, in codeblocks the cursor jumping weirdly. I cannot type the code as I do in other editors, like, Visual Studio, Dev-CPP, Vim.
In the smart indent mode, at the first of line.
1. Press "{"
2. Press Enter
3. Press "}"
4. Press up arrow key
5. Press Enter
However, in codeblocks, at the step 4, the cursor jumps to in front of the open bracket. Normally, the cursor should be next to the open bracket.