Questions tagged [stylecop-plus]

StyleCop analyzes C# source code to enforce a set of style and consistency rules. StyleCop+ is a plug-in that extends original StyleCop features.

StyleCop+ homepage is at

http://stylecopplus.codeplex.com/

8 questions
3
votes
0 answers

How to disable StyleCop Plus rule SP2001 "Only tab characters are allowed to be used for indentation"

I have added a nuget package StyleCopPlus.MSBuild https://www.nuget.org/packages/StyleCopPlus.MSBuild/4.7.49.5 which comes with Settings.StyleCop that I can copy to solution folder and modify, but I'm getting warning SP2001 "Only tab characters are…
mardok
  • 2,135
  • 2
  • 23
  • 37
2
votes
1 answer

visual studio 2010 inserts using directives inside namespace

I have exactly opposite problem to one described here. In my case Visual Studio inserts using directives inside namespace and I want to prevent this. I did try to uncheck Resharper option: Languages -> C# -> Formatting Style -> Namespace Imports ->…
1
vote
1 answer

Use StyleCop checkin policy with StyleCop+

I have a StyleCop and StyleCop+ which are integrated into projects via StyleCop.MSBuild. All warnings related to StyleCop+ are shown correctly after project build. I need to integrate my rules with StyleCop checkin policy. Now during checkin…
Alexey Klipilin
  • 1,866
  • 13
  • 29
0
votes
1 answer

Is there a StyleCop+ version which works for Visual Studio 2017?

Is there a StyleCop+ version which works for Visual Studio 2017? StyleCop+ offers more custom rules for making your style tougher. Most of them have flexible settings, configured through user-friendly UI. And a small example illustrates what this…
0
votes
1 answer

Style cop strange error

I am using style cop and getting an error in vs 2015 for my c# code Severity Code Description Project File Line Suppression State Error SP2001 : StyleCopPlus.StyleCopPlus : Only tab characters are allowed to be used for …
S M
  • 3,133
  • 5
  • 30
  • 59
0
votes
1 answer

StyleCop+ SignalR naming

In our application we are using StyleCop+ and SignalR. We did name our entities SignalRUser and SignalRConnection and StyleCop+ does not like this. I could suppress the message for these entities, but our variables are named signalRUser or else. I…
david
  • 859
  • 1
  • 13
  • 23
0
votes
1 answer

StyleCop Plus: Cant find configuration dialog

I installed Style Cop Plus from Nuget. I know it is installed and doing its thing because I see wantings like this one: SP2001 Warning 5 SP2001 : StyleCopPlus.StyleCopPlus : Only tab characters are allowed to be used for indentation. …
Chad
  • 23,658
  • 51
  • 191
  • 321
0
votes
1 answer

Can you create a whitelist of stylecop rules instead of a blacklist?

I'm working on a project which is using StyleCop to police its coding policies. From working on other projects, I have StyleCop+ rules installed. Because StyleCop runs all the rules it can find, the additional rules are running on my local builds,…
Paul Turner
  • 38,949
  • 15
  • 102
  • 166