返回

配置-如何将 .editorconfig 应用于 intellij 中的现有项目

发布时间:2022-03-24 14:50:39 279
# json

我创造了一个.editorconfigintellij的文件如下所示

# editorconfig.org

root = true

[*]
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
indent_style = space
indent_size = 4

[*.js]
indent_size = 4

[{package.json}]
indent_style = space
indent_size = 4

如何一次性将此代码样式应用于所有文件?现在我将打开一个文件并按Ctrl键+中高音+L这将完成该文件的工作,但有没有办法将其作为intellij14中所有应用程序的配置?

特别声明:以上内容(图片及文字)均为互联网收集或者用户上传发布,本站仅提供信息存储服务!如有侵权或有涉及法律问题请联系我们。
举报
评论区(2)
按点赞数排序
用户头像