[英]Is there any nuget package available for c# Naming Convention in Visual Studio
I am new to c# programming, i want to know is there any nuget package available in Visual Studio c# for naming conventions or any other external tool or free dll,which programmers normally use while do coding. 我是C#编程的新手,我想知道Visual Studio c#中是否有任何nuget软件包可用于命名约定或任何其他外部工具或免费dll,程序员通常在进行编码时会使用它们。
Thanks 谢谢
Try FxCop, you can set custom rules to check for variable name: 尝试使用FxCop,您可以设置自定义规则来检查变量名:
https://msdn.microsoft.com/en-us/library/bb429476.aspx https://msdn.microsoft.com/zh-CN/library/bb429476.aspx
I would say take a look at StyleCop. 我想说一下StyleCop。 StyleCop on Github
Github上的StyleCop
It can be installed as a Visual Studio Extension or as a NuGet package into your project which allows you to use it without installing anything into your system. 它可以作为Visual Studio扩展或NuGet软件包安装到您的项目中,使您可以在不将任何东西安装到系统中的情况下使用它。
Another helpful bit of software that can help enforce style and name conventions (in addition to a lot of other helpful tools) is ReSharper , although you'll need to pay for a license for that. ReSharper是另一个可以帮助强制样式和名称约定(除了许多其他有用的工具之外)的软件,尽管您需要为此付费。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.