fix the indentation java code example Example: fix the indentation java On Windows: Ctrl + Alt + L. On MAC: CMD + Option + L.