Reporter | Jorge (jbustos) |
---|---|
Created | Apr 23, 2018 12:20:49 PM |
Updated | Apr 23, 2018 12:20:49 PM |
Subsystem | Live Templates |
Assignee | Slava Tutushkin (slava.tutushkin) |
Priority | Normal |
State | Submitted |
Type | Bug |
Fix version | No Fix versions |
Affected versions | 2017.2.2 |
Fixed In Version ReSharper | Undefined |
VsVersion | VS 2013 RTM |
I have defined a custom surround template in Template Explorer, Surround Templates, C#, with availability "Anywhere in C# 2.0+"
However, when I press Ctrl K+ Ctrl S (default keybinding for SurroundWith), with some code selected in a .cs file I can see all predefined surround templates, like #if, #region, checked, cast, class, do, else... etc. but not my own template. So I can't use the template, even if I type the exact template shortcut. (This template is imported from previous versions, so I'm sure it's well defined as I used it many times in previous R# versions, with the same VS. Unless something has changed in the template definition)
The attached image is a snapshot of the template definition.
However, when I press Ctrl K+ Ctrl S (default keybinding for SurroundWith), with some code selected in a .cs file I can see all predefined surround templates, like #if, #region, checked, cast, class, do, else... etc. but not my own template. So I can't use the template, even if I type the exact template shortcut. (This template is imported from previous versions, so I'm sure it's well defined as I used it many times in previous R# versions, with the same VS. Unless something has changed in the template definition)
The attached image is a snapshot of the template definition.