[英]Visual studio 2017, resharper - broken indentation
如果遇到此問題,就我而言,是具有設置的.editorconfig文件,該設置將覆蓋Visual Studio和Resharper的配置。 該文件可以本地化在解決方案文件夾中,或者如果在前端使用angular這樣的框架,則可以在包含package.json的文件夾中進行本地化。
# Editor configuration, see http://editorconfig.org
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
max_line_length = off
trim_trailing_whitespace = false
其他開發人員已經向Microsoft報告了此錯誤,但他們並不認為這是錯誤。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.