I found this: Settings -> Java -> Editor -> Enter, the Enter key check box , will adjust the indent on a new line . (This tab provides the editor with additional intelligence, in addition to formatting, and works on the fly. It may be useful to configure some of these options depending on the practice of personal coding.)
Unfortunately, when this check box is disabled, the editor stops adding paired curly braces, even if the Automatically paste options in the correct position: curly braces and Automatically close {Braces} are both enabled. I do not understand why the indent parameter affects curly braces and actually disables this very convenient mode.
PS Intelligent Insert Mode is on.
Stan
source share