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

  • Cloud-Focused .NET Aspire 9.1 Released

    Along with .NET 10 Preview 1, Microsoft released.NET Aspire 9.1, the latest update to its opinionated, cloud-ready stack for building resilient, observable, and configurable cloud-native applications with .NET.

  • Microsoft Ships First .NET 10 Preview

    Microsoft shipped .NET 10 Preview 1, introducing a raft of improvements and fixes across performance, libraries, and the developer experience.

  • C# Dev Kit Previews .NET Aspire Orchestration

    Microsoft's dev team has been busy updating the C# Dev Kit, a Visual Studio Code extension that enhances the C# development experience by providing tools for managing, debugging, and editing C# projects.

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

Subscribe on YouTube

Upcoming Training Events