34

I've started using Visual Studio 2015 today and really like the Light Bulb or Quick Action setting. I want to change these settings though, how do I do that?

Specifically the rule IDE0003 which is trying to remove this from local properties or members.

enter image description here

How do I configure this rule or remove it?

Niels Filter
  • 4,430
  • 3
  • 28
  • 42

2 Answers2

27

trying to remove this from local properties or members.

There is a setting under Text Editor | C# which controls whether this is used for member access: does this control that rule? (I don't have an install to hand to get the exact name.)

Richard
  • 106,783
  • 21
  • 203
  • 265
24

As @Richard suggested here comes the full path:

Tools > Options > Text Editor > C# > Code Style and check Qualify member access with 'this'

Ben Randall
  • 1,205
  • 10
  • 27
participant
  • 2,923
  • 2
  • 23
  • 40