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

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube