Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Customise "Light Bulb" Quick Action Rules

The question relates to where can one customise the rule set for the new Visual Studio 2015 Light Bulb or Quick Actions feature.

Specifically I want to disable the one imaged below, for "simplifying" String.IsNullOrWhiteSpace to string.IsNullOrWhiteSpace.

The warning message given is:

IDE0001 Name can be simplified.

Light bulb feature

like image 823
Ashley Medway Avatar asked Jul 21 '15 13:07

Ashley Medway


1 Answers

Tools -> Options -> Text Editor -> C# -> Code Style

Then untick the following:

Prefer intrinsic predefined type keyword in member access expressions

enter image description here

like image 170
Niels Filter Avatar answered Nov 20 '22 17:11

Niels Filter