Convert code templates to Resharper templates. Is there any utility for this?

I like to retell it fantastically. I wanted to post this on the resharper forum, but for some reason it fails to create an account. In any case, back to my questions.

I have a lot of codes and I would like a resharper to see them. Today you seem to be stuck if you use resharper settings that you cannot view.

How did any of anychance create a utility to convert them into resharper templates?

I don’t know how to create live templates, and even if I did, I would have to create 100 cell codes that I’m not going to do.

Any suggestions?

+4
source share
1 answer

There is no utility that I know of, although it should not be too complicated to create it. I created a query in the ReSharper error registry to allow the direct import of any VS fragments for live templates. Hoping that it can be realized one day.

It should be noted, however, that simply importing VS fragments into ReSharper templates is only half the story: VS fragments provide a pretty poor selection of variables in templates, while ReSharper provides a rich set of macros that allow you to deploy templates more intelligently.

+3
source

All Articles