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

  • Full Stack Hands-On Development with .NET

    In the fast-paced realm of modern software development, proficiency across a full stack of technologies is not just beneficial, it's essential. Microsoft has an entire stack of open source development components in its .NET platform (formerly known as .NET Core) that can be used to build an end-to-end set of applications.

  • .NET-Centric Uno Platform Debuts 'Single Project' for 9 Targets

    "We've reduced the complexity of project files and eliminated the need for explicit NuGet package references, separate project libraries, or 'shared' projects."

  • Creating Reactive Applications in .NET

    In modern applications, data is being retrieved in asynchronous, real-time streams, as traditional pull requests where the clients asks for data from the server are becoming a thing of the past.

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

Subscribe on YouTube