Alexis Benoist Alexis Benoist - 11 months ago 74
Javascript Question

How to auto indent full javascript project?

I want to auto-indent a full javascript project. How can I do that using WebStorm or another tool?

Answer Source
  1. Select your project root folder/source root folder in the Project tool window on the left
  2. From main menu choose Code | Reformat Code (or hit Ctrl+Alt+L)