Xml Editor: Creating Code Snippets

Download this episode

Download Video


Visual Studio has lots of features that increase developer productivity; one of them is the Code Snippets. Visual Studio comes with many code snippets that you can access by right clicking and selecting Insert Snippet, or typing the snippet's name.

With this demo, we would like to show you how to author a very simple code snippet so that you could start writing your own.



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      Great video! I just customized a snippet I downloaded from an online library. It inserts a ternary operator in C#. I wish I would have seen this video first!  :O
    • User profile image

      Great Video !

      Just a question : how did You made it ? With which software ?

      I'm interested in that, 'cause I'd like to build some video for my coleagues....



    • User profile image

      Screen capture by Camtasia. Video capture by a normal camcorder. Then I used a popular video editing software to sync and postprocess each part. I exported as uncompressed video, and then used Windows Media Encoder to compress. The video should be 800x600, and around 100MBs/10mins.

    • User profile image
      Very useful video. I think I've though about whether this was possible some time in the past, but never bothered to look it up. This will definitely come in handy. Thank you.

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.