我打开 Visual Studio 2022 并创建一个新的空解决方案。
我添加一个.editorconfig
包含以下内容的文件:
root = true
[*]
end_of_line = lf
indent_style = space
indent_size = 3
tab_width = 3
Run Code Online (Sandbox Code Playgroud)
我向解决方案添加了一个新的 C# Web 应用程序项目。
没有一个文件的格式正确。全部缩进四个空格并crlf
换行。
editorconfig扩展似乎尚未升级以支持 Visual Studio 2022 。有没有办法在 Visual Studio 2022 中获得 editorconfig 支持?