TIP: Lazy Code Snippets in Visual Studio


You’ve probably discovered code snippets and you may even know you can create your own code snippets. But, Susan has a confession to make – she’s lazy. According to her, she usually can't be bothered to define the xml to create her own snippets. That's why she loves using the Toolbox! You can just drag code from the code editor into the Toolbox. Then the next time you need it, just drag it back to the code editor!

Check out how she does it in the video below:

More Tips? Check out Visual Studio Time Savers

Visual Studio guru, Susan Ibach, is a master of finding ways to save minutes. In her video series, Visual Studio Time Savers, she shares some of her favourite time saving tips. Give them a try and let her know what you think. There are more coming, so make sure to check back often or subscribe to the RSS feed to get her tips as soon as they are posted.

If one of these has helped you become more productive, make sure to comment on and share the videos.

Have a tip that has made you more productive? Let Susan know by tweeting to @cdndevs (hashtag #vstips) or commenting on the Microsoft Developer Facebook wall.

Comments (1)

  1. S.K. says:

    Code snippets, toolbox, etc. is a poor substitution for macros, macro recording and the VB-based macros (for power users).

    Over the years of development, macros saved me lots of time, let me automated a number of tasks, helped standardize the coding practices (eg. required comment forms, formats and their content). The code snippets don't cut-in here at all.

Skip to main content