visual studio 2015 disable quick action "remove this qualitfication"
Asked Answered
T

2

16

how can i prevent visual studio 2015 quick actions to suggest me the "remove 'this' qualitfication" to simlify the name? i don't want to disable the quick actions itself, just this hint. i cant find any settings in the options. i've already tried a few settings.

this is the message i'm talking about:

enter image description here

hope you can help, its driving me crazy.

Tannate answered 3/8, 2015 at 11:23 Comment(1)
Possible duplicate of Visual Studio 2015 - Change Light Bulb, Quick Action settingsLiability
T
16

just found the solution! you have to check the following checkbox: tools -> options -> text editor -> c# -> code style -> qualify member access with 'this'

enter image description here

Tannate answered 3/8, 2015 at 11:38 Comment(1)
I knew where that option was, but I uncheck it and nothing changes! Nice, Microsoft!Lengthways
E
3

In addition to cyptus answer, Visual Studio 2017, allows different actions to be taken when using this and other supported keywords.

enter image description here

Ephemeral answered 27/4, 2017 at 11:40 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.