As in Visual Studio 2013, create a template in a text editor. Like a resharper does. That is, the desired result: I pressed custom Hotkeys (for example, Ctrl + 1 + 2) and in the code inserted the line corresponding to this pattern?

0