INTRO TO FOOD SAFETY INTRO TO AGRICULTURE AAEC – PARADISE VALLEY SPRING 2015.
Intro to Stylecop
-
Upload
wlscaudill -
Category
Software
-
view
149 -
download
1
description
Transcript of Intro to Stylecop
StyleCopManage consistent style and structure across multiple developers.
Install
Scope of Product
Analyzes source files (not compiled)
Checks structure:
Spacing
Comments
Naming
Grouping (private, publics, etc.)
Brace and bracket placement
Allows consistent look and feel across teams
Resharper Integration
Will reset fine grain settings around curly brace placement, spacing, etc.
Resharper will auto-complete most of these rules for free!
Resharper Integration (cont.)
Most things Resharper won’t give you for free it can give you via the ‘QuickFix | Alt-Enter’
Visual Studio Usage
Can run by right-clicking on the solution or project.
Can also run via MSBuild for Continuous Integration.
Visual Studio Usage (cont.)
Violations will show up as Warnings in Visual Studio and supports double-click to navigate to it.
Can control rules used
Settings can be changed globally or on a project level.
Settings Interface
Rule set can be fine tuned and also supports custom rules being added.
Resources
StyleCop: http://stylecop.codeplex.com/
Author: Lawson Caudill – http://www.getthinktank.com