Is this project still active ?

Apr 12, 2012 at 2:45 PM

I saw on the blog that there should be frequent releases of the snippets, but looking at the release date I feel this is no longer true ?

Coordinator
May 9, 2012 at 7:55 PM

Yes the project is still alive and I'll be updating the snippets for Visual Studio DEV "11" shortly.

Apr 10, 2013 at 11:40 AM
Nice, I'll did a post in discussions, that may be suitable in the meantime.
Is there lots of changes in StyleCop rules?

From my post in discussions
File location
  1. Default Visual Studio 2012 Snippets files is found in: %ProgramFiles(x86)%\Microsoft Visual Studio 11.0\VC#\Snippets\1033\Visual C#
  2. "My Code Snippets" files is found in: %USERPROFILE%\Documents\Visual Studio 2012\Code Snippets\Visual C#\My Code Snippets
  3. "StyleCop Code Snippets" file is found in StyleCop Compliant Visual Studio Code Snippets
Files to copy
  1. The files that differ(se below), has minor changes to complie to StyleCop rules, so it should be safe to replace them.
  2. The files that is same(se below), do nothing
  3. The added files should be places in "My Code Snippets"
VS2012 files that differ from "StyleCop Code Snippets"
~.snippet
attribute.snippet
checked.snippet
class.snippet
ctor.snippet
do.snippet
enum.snippet
equals.snippet
exception.snippet
for.snippet
forr.snippet
indexer.snippet
interface.snippet
invoke.snippet
iterator.snippet
iterindex.snippet
lock.snippet
namespace.snippet
pp_if.snippet
pp_region.snippet
prop.snippet
propfull.snippet
propg.snippet
sim.snippet
struct.snippet
svm.snippet
try.snippet
unchecked.snippet
unsafe.snippet
VS2012 files that is same as "StyleCop Code Snippets"
cw.snippet
else.snippet
foreach.snippet
if.snippet
mbox.snippet
switch.snippet
tryf.snippet
using.snippet
while.snippet
Apr 11, 2013 at 12:42 PM
The StyleCop Compliant Visual Studio Code Snippets seems to orginate from CodePlex.Snippets, also from DougHolland.

Se documentation about Default Code Snippets at Visual C# Code Snippets 2012

Should be possible to build a program to generate documentation ower all snippets, listing the Description node. The Valid locations to insert snippet column, is explicity defined in snippet-xml, but shoud match SnippetTypes children.