【发布时间】:2018-07-27 09:50:20
【问题描述】:
我有一个项目,它以 4 空格缩进开始,然后仅对某些文件切换到 2 空格。
现在我有 .editoconfig 文件来标准化缩进
*.{ts}]
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2
有没有办法将此新规则应用于现有代码?
【问题讨论】:
标签: indentation automated-refactoring editorconfig