Try to put the cursor before last brace in the following simple example and move cursor forward: void loop() { } The upper brace disappears. If one of matched braces is not in the same column, then OK: void loop() _ { } The same problem exists for any kind of matched brackets/braces