3 comments
Comment actions Permalink

Hello Marcus,

This cannot be achieved with existing ReSharper functionality, but you can
write a custom Live Templates macro, that would put all necessary information
in place. As an example, you can take a look at LiveTemplatesMacro Power
Toy which is part of Power Toys pack for ReSharper (http://resharperpowertoys.codeplex.com/).
Thank you!

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

I would like to create a custom surround template that works like
this.

I we take a property like this http://screencast.com/t/44RmObWK2e and
selects it to create a surrounding template I want the result to look
like this http://screencast.com/t/ZZQL4drQyczP , is this possible with
resharper?

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



0
Comment actions Permalink

Where can I find the documentation for how I can get specific information out of my selection, for example how do I get the MemberInfo Name from the selection?

0
Comment actions Permalink

Hello Marcus,

There's no full documentation for ReSharper API yet. There are some blog
posts (such as http://hadihariri.com/blogengine/post/2010/01/12/Writing-plug-ins-for-ReSharper-Part-1-of-Undefined.aspx
and http://hadihariri.com/blogengine/post/2010/07/20/Writing-plug-ins-for-ReSharper-Part-2-of-N.aspx)
and you can also consult with ReSharper developers at http://devnet.jetbrains.net/community/resharper/resharper_open_api
(or look through available answers). Thank you!

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

Where can I find the documentation for how I can get specific
information out of my selection, for example how do I get the
MemberInfo Name from the selection?

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



0

Please sign in to leave a comment.