Reporter | Jorge (jabustosp) |
---|---|
Created | Mar 1, 2012 8:49:57 PM |
Updated | Mar 1, 2012 9:02:38 PM |
Priority | Normal |
Type | Usability Problem |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Unassigned |
Subsystem | No subsystem |
Affected versions | 6.1 |
Fixed in build | No Fixed in build |
If I create a new template and choose this options for a new template
Available: In C#2.0+ where type member declaration is allowed.
Whe I type
public ''beginning template shortcut''
R# shows the template shortcut, and allows me to insert the live template, as expected.
However, if I don't write public, or any other modifier, and type the template shorcut, I'm not allowed to insert it. And it should. At least for me, it's not unusual to include fixed modifiers in my template text.
Of course, If i change the Available to In C#2.0+ I can insert the template anywhere... even where I shouldn't.
R# 6.1 + VS 2008 SP1
Available: In C#2.0+ where type member declaration is allowed.
Whe I type
public ''beginning template shortcut''
R# shows the template shortcut, and allows me to insert the live template, as expected.
However, if I don't write public, or any other modifier, and type the template shorcut, I'm not allowed to insert it. And it should. At least for me, it's not unusual to include fixed modifiers in my template text.
Of course, If i change the Available to In C#2.0+ I can insert the template anywhere... even where I shouldn't.
R# 6.1 + VS 2008 SP1