Using live templates in parameters bloc

Hi,

I'm trying to use a live template with a scope that makes it available when I define parameter in method or function but the only scope working is "Anywhere in c#" but when I define this scope and I write some comments or xml comments, when I start typing a text corresponding to my template shortcut, the intellisense of Resharper is displayed.

It is possible to make the template available to parameter section but not in comment or xml comment?

Thank you.

1 comment
Comment actions Permalink

Hello Samuel,

I'm afraid at the moment there's no way to define such scope for a template.
Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hi,

I'm trying to use a live template with a scope that makes it available
when I define parameter in method or function but the only scope
working is "Anywhere in c#" but when I define this scope and I write
some comments or xml comments, when I start typing a text
corresponding to my template shortcut, the intellisense of Resharper
is displayed.

It is possible to make the template available to parameter section but
not in comment or xml comment?

Thank you.

---
Original message URL:
http://devnet.jetbrains.net/message/5325730#5325730



0

Please sign in to leave a comment.