java code format in intellij code example
Example 1: format code intellij
// Mac
CMD + Option + L
// Windows
Ctrl + Alt + L
Example 2: format code intellij
Ctrl + Alt + L
// Mac
CMD + Option + L
// Windows
Ctrl + Alt + L
Ctrl + Alt + L