Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2015 - Turn off "'private' modifier is redundant" IntelliSense warning (RECS014)

Is it possible to turn off the "'private' modifier is redundant" (RECS014) IntelliSense warning?

like image 788
TheMagnificent11 Avatar asked Aug 21 '15 00:08

TheMagnificent11


People also ask

How do I Turn Off recs0145 warning in Visual Studio Code?

Inside VS, expand the 'References' node in Solution Explorer and right click on 'Analyzers' and select 'Open Active Rule Set' Expand the 'RefactoringEssentials' node and change RECS0145 from Warning to None

How to disable ReSharper in Visual Studio 2015?

I would try: In Visual Studio 2015, go to 'Tools | Options | Text Editor | C# | General both "Auto list members" and "Parameter information" should be checked. If that doesn't work I would try to disable ReSharper in VS2013 and try to get the normal intellisense working.

Does Visual Studio 2015 or 2017 show IntelliSense errors?

Visual Studio 2015 or 2017 shows IntelliSense errors but solution compiles Hot Network Questions Split a restaurant bill, including tip Create zones from lines inside a boundary (QGIS)

Can I disable codelens in Visual Studio 2015?

In Visual Studio 2015, I could disable CodeLens (all the sub features in CodeLens) and hide "n references".


1 Answers

  1. Install the Refactoring Essentials extension.
  2. Inside VS, expand the 'References' node in Solution Explorer and right click on 'Analyzers' and select 'Open Active Rule Set'
  3. Expand the 'RefactoringEssentials' node and change RECS0145 from Warning to None
  4. Repeat for all other projects or copy and paste the .ruleset file into other projects and manually change the name and description (the file is simply XML)

https://github.com/icsharpcode/RefactoringEssentials/wiki/Custom-Rule-Sets-for-Analyzers

like image 66
Brett Avatar answered Sep 23 '22 11:09

Brett