0

I simply want to change the default auto curly braces from shortening, example of this:

Public void main() { } 

Instead of:

Public void main() { } 
3
  • 1
    ...... but why? Commented Jan 19, 2023 at 0:05
  • Confuses me too much Commented Jan 19, 2023 at 0:12
  • 1
    I can relate, but unless you plan on never working with anyone else, it's best to adapt to common conventions than to recreate them to suit your preferences. Commented Jan 19, 2023 at 0:21

1 Answer 1

3

Open the File, Settings... menu.

In the Settings dialog, choose Editor, Code Style, Java.

Click on the Wrapping and Braces tab.

FInd Braces placement and change "end of line" to "Next line".

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.