How to turn off the Visual Studio 2015 light bulb when renaming a field?

I have done everything that is indicated in this answer: https://stackoverflow.com/a/167306/ ... but the light still appears when I rename the private field, in this case from db to _db :

lightbulb

By clicking on the Velcro, you must perform the action "rename" the refactor.

refactoring offer

However, exactly what I just did with ReSharper! This sentence appears every time I rename a field that has no links, and when I execute the ReSharper refactor action, making it completely redundant.

Is there any way to disable it?

+5
source share
1 answer

To suppress the VS lamp through ReSharper, you need to go to:

ReSharper -> Tools -> Code Check (make sure the "Enable Code Analysis" option is checked), and then click "Don't show VS lamp." Please note that this will completely turn off the light (which is in any case redundant if you use R #).

enter image description here

+7
source

Source: https://habr.com/ru/post/1232393/


All Articles