I just released Snippet Designer 1.3.
CodePlex Page:
http://snippetdesigner.codeplex.com/ Visual Studio Gallery Page: http://visualstudiogallery.msdn.microsoft.com/en-us/B08B0375-139E-41D7-AF9B-FAEE50F68392
The key features of this release are support for HTML/ASP.NET, JavaScript and SQL snippets and a much improved snippet searching experience.
If you already have it installed for Visual Studio 2010 you will get an update in your extension manager for the new version.
Change log
Changes for Visual Studio 2010
- Fixed bug where "Export as Snippet" was failing in a website project
- Changed Snippet Explorer search to use a relevance based algorithm which yields much better results
- Added support for JavaScript snippets
- Added support for SQL snippets
- Added support for HTML/ASP.Net snippets
- Added support for <AlternativeShortcuts> tag
- Made the color of the snippet replacement highlighting configurable
Changes for Visual Studio 2008
- Fixed bug where "Export as Snippet" was failing in a website project
- Changed Snippet Explorer search to use a relevance based algorithm which yields much better results
The xUnit .Net codeplex page lists one useful Visual Studio code snippet for creating a Fact. As you can tell I am fairly fond of code snippets so I created a few more which I use when writing xUnit.net facts. These are one line snippets that I find very convenient when writing my assertions.
Below is a table which shows the shortcut you use to access the snippet and the code the snippet generates
| Shortcut |
Snippet |
| ae |
Assert.Equal($expected$,$actual$) |
| ane |
Assert.NotEqual($expected$,$actual$) |
| an |
Assert.Null($actual$) |
| ann |
Assert.NotNull($actual$) |
| at |
Assert.True($actual$) |
| af |
Assert.False($actual$) |
I have included a zip containing these snippets. Enjoy!
The xUnit .Net codeplex page lists one useful Visual Studio code snippet for creating a Fact. As you can tell I am fairly fond of code snippets so I created a few more which I use when writing xUnit.net facts. These are one line snippets that I find very convenient when writing my assertions.
Below is a table which shows the shortcut you use to access the snippet and the code the snippet generates
| Shortcut |
Snippet |
| ae |
Assert.Equal($expected$,$actual$) |
| ane |
Assert.NotEqual($expected$,$actual$) |
| an |
Assert.Null($actual$) |
| ann |
Assert.NotNull($actual$) |
| at |
Assert.True($actual$) |
| af |
Assert.False($actual$) |
I have included a zip containing these snippets. Enjoy!