Tag | Snippets Posts

In this brief series I’m going to go over creating your own custom code snippets for use in Visual Studio 2005 or later. We’ll be using the XML Schema from Visual Studio 2005, but I assure you it works for both. This series will contain three parts: The “Hard” Way The “Easy” Way Practical Example of an XML Snippet The reason we’re going to call this version the “Hard” way is because there are snippet generator apps available, including one made by the teams themselves. So before we begin, I’d like ...
If you use Visual Studio 2005 or later and you don't use snippets, you are missing out on yet another time saving feature. Snippets effectively allow you to drive your programming experience even further via Intellisense and keyword combinations, making repetitive tasks such as defining properties, encrypting and decrypting information, and connecting to data as easy as a few keystrokes. Yesterday I was thinking about how much snippets make sense from the perspective of programming. I remember when ...
For those of us that implement INotifyPropertyChanged on our state objects, the new Automatic Properties feature of Visual Studio 2008 hasn't been very useful. In fact, the snippet prop that used to create a private variable and associated public property has now been replaced by an Automatic Property. Thanks to a comment by SnYnE on this blog post, there is an easy way to get the functionality back. Simply create a new text file at:C:\users\*your user name*\Documents\Visual Studio 2008\Code Snippets\Visual ...
tools , reflector , ghostdoc , VS2005 , snippets , software development , wireshark , clr profiler , profiler , ants profiler , fx cop Many times I've been called "The tool-guy" or something like that. That's because people around me know that I love tools, and have a lot of them. And if they don't know it yet, they will know after they come to me with a particular issue. But still, many times I wonder that people do not know the tools, or simply not use them. Practical experiences have given me ...