Looking at the first video on the MVVMlight documentation page (report from techdays2010) in the 9th minute I noticed the functionality of the studio that interested me, namely:

The speaker, being on the C # code editing tab, holds an open toolBox in which he has code templates that he adds by dragging and dropping into his code.

Is such a feature possible with the 15th studio and, if so, how to add code templates to the ToolBox? And will it work with XAML markup?

PS: About similar options for creating and using templates when using IntelliSense and / or ReSharper I am aware of.

  • 2
    Simply select the desired text (code) in the Studio and drag it to the Toolbox with the mouse. Then you can also drag the template from the toolbox into the editor with the mouse. Or double click on it. - Alexander Petrov
  • @Alexander Petrov: tochnyak. Thank. PS: Issue as an answer. - Alexey

1 answer 1

To make such a template, it is enough to select the desired text (code) in any text editor, for example, in Studio and drag it with the mouse into the Toolbox. You can use the standard copy-paste: Ctrl + C / Ctrl + V.