controlflow / resharper-postfix

ReSharper Postfix Templates plugin
MIT License
127 stars 12 forks source link

how to add my own templates #13

Closed 24 closed 10 years ago

24 commented 10 years ago

it's good plugins. but i want to add my own templates, how to add?

controlflow commented 10 years ago

Currently it is not possible, since current postfix templates can't all be expressed in R#'s LiveTemplates language (it is not possible to introduce variable from such template like .var does or add a field to class like .field), so they all encoded in code now.

Maybe I can integrate into LiveTemplates Surround Templates, but I don't know for sure. What postfix templates you are looking for?

24 commented 10 years ago

no .just ask :)

i like it thanks you write it