[英]Resharper 6 - automatically adding “this”
在我工作的公司中有一种命名方式,必须将“this”添加到每个函数,属性调用和字段中。 有时我会忘记它。 我希望Resharper自动完成。
有什么建议?
找到选项ReSharper | Options -> Code Editing | C# | Formatting Style | Other -> Other | Force "this." qualifier for instance member
ReSharper | Options -> Code Editing | C# | Formatting Style | Other -> Other | Force "this." qualifier for instance member
ReSharper | Options -> Code Editing | C# | Formatting Style | Other -> Other | Force "this." qualifier for instance member
并将其更改为Use always
,然后运行完整的代码清理。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.