我需要在WebStorm中缩进多个文件。 “代码”菜单中的“自动缩进”选项仅缩进当前行。
如何在多个文件上使用它,比如我可以使用“重新格式化代码”?
在“项目”工具窗口中选择要重新格式化代码的文件夹。然后选择Code | Reformat Code
Code | Reformat Code
这个页面解释了它。 https://www.jetbrains.com/help/idea/2016.1/reformatting-source-code.html