News

New Visual Studio Tool Allows Easier Snippet Creation

The free extension currently works only with Visual Studio 2013.

Code snippets are an important part of many developers' toolboxes. They're useful for quickly inserting frequently-used code blocks, and a real time-saver.

Visual Studio's had the ability to create code snippets for awhile, but a new, free extension, called Snippetizer, takes snippet creation to new heights.

According to an MSDN blog, Snippetizer is available only for Visual Studio 2013. The new functionality it brings to the table includes full IntelliSense and semantic editor colorization. In addition, no XML schema work is required.

The snippet, once created, is shown inside a new "Peek" window, the blog authors write. "The Snippetizer helps you define fields that are linked together effortlessly, so when you insert the snippet, you can rename the fields into contextually meaningful ones."

There's an action bar at the bottom of the Peek window that has some basic actions like ungrouping selections and removing fields, for tuning the snippet. Another new property in Snippetizer is the "Snippet Definition" tool window, for setting common properties; they include  "Set caret location" and "Set Properties" activities. Snippetizer also works with existing snippets.

There are few reviews of the tool so far, but the majority of those who have posted about it on the download page have had a good experience with Snippetizer.

About the Author

Keith Ward is the editor in chief of Virtualization & Cloud Review. Follow him on Twitter @VirtReviewKeith.

comments powered by Disqus

Featured

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

  • Vibe Coding with Latest Visual Studio Preview

    Microsoft's latest Visual Studio preview facilitates "vibe coding," where developers mainly use GitHub Copilot AI to do all the programming in accordance with spoken or typed instructions.

  • Steve Sanderson Previews AI App Dev: Small Models, Agents and a Blazor Voice Assistant

    Blazor creator Steve Sanderson presented a keynote at the recent NDC London 2025 conference where he previewed the future of .NET application development with smaller AI models and autonomous agents, along with showcasing a new Blazor voice assistant project demonstrating cutting-edge functionality.

Subscribe on YouTube