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?
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.
ReSharper | Options -> Code Editing | C# | Code Style -> Qualify members declared in -> None
–
Lazybones © 2022 - 2024 — McMap. All rights reserved.
ReSharper | Options -> Code Editing | C# | Code Style -> Use "this." qualifier for -> None
– Coquetry