0

Is there a way to create a custom formatting order of the code in IntelliJ? More specifically I am trying to change the default formatting and format my imports by type when pressing option+command+L together.

manzk
  • 586
  • 1
  • 4
  • 11

1 Answers1

1

For 2019.3, Preferences | Editor | Code Style | Java is the place where you can control the coding style of your Java code.

You can create a duplicate the default one and edit the settings without touching the default one, or import another format like Google's.

The_Cute_Hedgehog
  • 1,280
  • 13
  • 22
  • Thanks. In addition to that I would follow the following format given from this query: stackoverflow.com/a/17194980/104891 – manzk Jan 10 '20 at 00:22