user9969
user9969

Reputation: 16040

Convert codeSnippet to Resharper Templates .Is there a utility for this?I

I love resharper it's fantastic. I wanted to post this in the resharper forum but for some reasons when creating an account it fails.Anyway back to my questions.

I have many codesnippets and I would like resharper to see them.Still today you are stuck apparently if you using resharper settings you cannot view them.

As anybody by anychance created an utility to convert them to resharper templates?

I dont know how to create live templates and even if I did i would have to create 100s of codesnippets manually which I am not going to do.

Any suggestions?

Upvotes: 5

Views: 945

Answers (1)

Jura Gorohovsky
Jura Gorohovsky

Reputation: 10138

There's no such utility that I'm aware of although it shouldn't be too complicated to create one. I have created a feature request in ReSharper issue tracker to allow direct import of any VS snippets to live templates. Hoping it can be implemented one day.

It should be noted however that merely importing VS snippets to ReSharper templates is only a half of the story: VS snippets provide quite a poor choice of variables in templates whereas ReSharper exposes a rich set of macros which allow deploying templates in a more intelligent manner.

Upvotes: 3

Related Questions