質問

There is a naming style in a company I work for that "this" must be added to every function, property call and field. Sometimes I forget about it. I want Resharper to do it automatically.

Any suggestions?

役に立ちましたか?

解決

Find option ReSharper | Options -> Code Editing | C# | Formatting Style | Other -> Other | Force "this." qualifier for instance member and change it to Use always, then run full Code Cleanup.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top