How to auto format code in WebStorm?

HasanAboShally picture HasanAboShally · Jan 19, 2014 · Viewed 92.7k times · Source

I'm looking for a way to auto-format my code in the WebStorm IDE?

Answer

HasanAboShally picture HasanAboShally · Jan 19, 2014

Mac: Command + Option + L

PC: Ctrl + Alt + L