1 Replies Last post: Jul 9, 2013 5:21 PM by Alex Berezoutsky  
Kennedy Bushnell Newbie 1 posts since
Jul 2, 2013
Currently Being Moderated

Jul 2, 2013 10:09 PM

Resharper Refactor Settings

I'm wanting to change some of Resharpers suggestions and default behavior. I found most of the settings I want to change but there are a few that are still bugging me.1.Qualifier is redundant - ClassName.CONSTANT_NAMEHow do I get Resharper to suggest and fix when I DON'T put the class name in front of my constants?2.Qualifier is redundant - this._instanceVariableNameHow do I get Resharper to suggest and fix when I DON'T put this. in front of my instance variables?I had another but I can't think of it right now...Thanks!
Alex Berezoutsky JetBrains 581 posts since
Feb 18, 2011
Currently Being Moderated
Jul 9, 2013 5:21 PM in response to: Kennedy Bushnell
Re: Resharper Refactor Settings

Hi,

 

1. Unfortunately, ReSHarper cannot force to place reduntant qualifiers when they are not necessary.

2. There is an option to 'Force this. qualifier' in Code Cleanup options. You may set up a custom code cleanup profile in options and use it when you need to. I've added the screens of the options for a reference.

 

Thanks.

Attachments:

More Like This

  • Retrieving data ...