mrlacey / DemoSnippets

A Visual Studio extension for working with code snippets when giving demos.

Home Page:https://marketplace.visualstudio.com/items?itemName=MattLaceyLtd.DemoSnippets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo Snippets

Build status License: MIT

Download this extension from the VS Gallery or get the CI build.

Supports Visual Studio 2019 & 2022


Visual Studio extension that provides functionality relating to *.demosnippets files and interacting with the Toolbox. Intended to make it easy to use code snippets in demos.

screenshot

Features

  • Store your code snippets in a file with a .demosnippets extension.
  • Automatically add the contents of all .demosnippets files to the Toolbox when a solution loads. (Can be disabled in Options.)
  • Automatically remove all demo snippets from the Toolbox when a solution is closed. (Can be disabled in Options.)
  • Add individual files to the Toolbox by right-clicking on the file in Solution Explorer and selecting 'Add to Toolbox'.
  • Add all files to the Toolbox by right-clicking on the solution in Solution Explorer and selecting 'Add All DemoSnippets to Toolbox'.
  • Remove all DemoSnippets from the Toolbox by right-clicking on the Toolbox and selecting 'Remove All DemoSnippets'.
  • Remove any empty tabs from the Toolbox by right-clicking on the Toolbox and selecting 'Remove Empty Tabs'.
  • Automatically reload Toolbox entries when .demosnippets files are saved. (Can be disabled in Options.)
  • Colorization of .demosnippets files.
  • Create .demosnippets files by selecting File > New Item.

Formatting DemoSnippets files

See the change log for changes and road map.

Contribute

Check out the contribution guidelines if you want to contribute to this project.

For cloning and building this project yourself, make sure to install the Extensibility Tools extension for Visual Studio which enables some features used by this project.

About

A Visual Studio extension for working with code snippets when giving demos.

https://marketplace.visualstudio.com/items?itemName=MattLaceyLtd.DemoSnippets

License:MIT License


Languages

Language:C# 96.9%Language:CSS 0.9%Language:HTML 0.7%Language:C++ 0.6%Language:Visual Basic .NET 0.5%Language:JavaScript 0.4%