I cannot enter curly braces in Eclipse

I am working with Java in the Eclipse IDE. I can type each character only perfectly, except for the character '{'. I need to resort to Ctrl + c and Ctrl + v every time I want to create a new block from {}.

In the Settings> Editor> Imprint Braces window, they are turned on, and they are automatically fixed after I manage to copy the file {.

Beyond the eclipse, in a text editor or even in this matter, I can enter {by pressing Atl Gr + B, so I think the problem is inside Eclipse.

Any help would be really appreciated, this error is becoming quite annoying.

+5
source share
2 answers

The problem is the option of skipped breakpoints. After unlocking the Alt + B command, try canceling Ctr + Alt + B (skip brakepoints).

This solved my problem. If you try to enter "{", you can see that the pass-through breakpoint parameter is blinking.

+9
source

Go to Windows-> Type of settings in the search field "binding" click "Keys", find "Alt + B", click on it, and then click "Cancel command".

+3
source

Source: https://habr.com/ru/post/1236750/


All Articles