Command
Shift + Alt + F (Windows/Linux) | Shift + Option + F (Mac)Explanation
You can format your code based on the default or installed formatter.
Examples
Format code on Windows/Linux
Shift + Alt + FFormat code on macOS
Shift + Option + FShift + Alt + F (Windows/Linux) | Shift + Option + F (Mac)You can format your code based on the default or installed formatter.
Format code on Windows/Linux
Shift + Alt + FFormat code on macOS
Shift + Option + F