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.
Asked
Active
Viewed 467 times
0
-
Does https://stackoverflow.com/a/17194980/104891 answer your question? – CrazyCoder Jan 09 '20 at 19:56
-
@CrazyCoder amazing thank you, this is what I was looking for :) – manzk Jan 10 '20 at 00:21
1 Answers
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