[英]Roslyn Code Analysis: Visual Editing of Rules possible?
If I understand correctly, there are two kinds of code analysis available for C# Visual Studio projects:如果我没理解错的话,C# Visual Studio项目有两种代码分析:
The old legacy analyzers used.ruleset files to configure warnings, errors and suppresions.旧的遗留分析器使用 .ruleset 文件来配置警告、错误和抑制。 Visual Studio came with a nice visual interface to edit those ruleset files: Visual Studio 带有一个漂亮的可视化界面来编辑这些规则集文件:
The.ruleset file format seems to be deprecated in Roslyn in favour of.editorconfig. .ruleset 文件格式在 Roslyn 中似乎已弃用,取而代之的是 .editorconfig。 Unfortunately, this means the nice visual editor is not available anymore.不幸的是,这意味着漂亮的可视化编辑器不再可用。
Is there any way to get a similar visual interface for.editorconfig files?有没有办法为 .editorconfig 文件获得类似的可视化界面?
The C# compiler can use both .ruleset
and .editorconfig
. C# 编译器可以同时使用.ruleset
和.editorconfig
。
And Visual Studio 2022 has an editor for .editorconfig
Visual Studio 2022 有一个.editorconfig
的编辑器
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.