Search code examples
javascriptwebstormauto-indenttooling

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?


Solution

    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)