简体   繁体   中英

How to auto indent in WebStorm

I need to indent multiple files in WebStorm. Its option "Auto-indent" in the Code menu only indents current line.

How do I use it on multiple files like I can use " Reformat Code "?

Select the folder you want to reformat the code for in the Project tool window. Then select Code | Reformat Code Code | Reformat Code

This page explains it. https://www.jetbrains.com/help/idea/2016.1/reformatting-source-code.html 重新格式化代码

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM