Tag Archives: generation and templates

Code generation improvements in ReSharper 2016.3

ReSharper’s code generation actions can create a lot of code for us. Why manually write a constructor that initializes type members? Why manually implement interface methods and properties? ReSharper can do those things for us! Some say developers who use tools … Continue reading

Posted in How-To's | Tagged , , , , | 6 Comments

Introducing Source Templates

ReSharper’s Live Templates are a very powerful way of generating code. Type the name of a template, hit Tab or select the template from the code completion list, and the text template is expanded and inserted into the editor. Any … Continue reading

Posted in How-To's | Tagged , , | 4 Comments

Webinar Recording: Build Your Own Extension in ReSharper 8

The recording of our October 22nd webinar with Matt Ellis and Robert Demmer, Build Your Own Extension in ReSharper 8, is now available on JetBrains YouTube Channel and JetBrains.tv. This webinar is aimed at anyone interested in extending ReSharper. We’ll … Continue reading

Posted in How-To's | Tagged , , , , , , | Leave a comment

Live Webinar: Build Your Own Extension in ReSharper 8, Oct. 22

Join us Tuesday, October 22nd, 14:00 – 15:00 GMT (10:00 – 11:00 EDT) for our free webinar, Build Your Own Extension in ReSharper 8 featuring Matt Ellis. ReSharper has always had many extension points for plugins to take advantage of. … Continue reading

Posted in How-To's | Tagged , , , , , | Leave a comment

Multifile Templates in ReSharper 8

Оnе оf thе nеw things thаt wе’rе inсluding in RеShаrреr 8 is thе аbility tо сrеаtе filе tеmрlаtеs thаt ехраnd tо mоrе thаn оnе filе. Тhis аllоws thе usеr tо dеfinе filе tеmрlаtеs thаt сrеаtе nоt just а singlе еntity … Continue reading

Posted in How-To's | Tagged , , | 4 Comments

Code Generation Improvements in ReSharper 7

If there was a competition between different ReSharper subsystems on which one produces most value relative to developer effort, the Generate action would win that competition outright. And, needless to say, in the 7.0 release we have added a couple … Continue reading

Posted in How-To's | Tagged , , | 4 Comments

Importing / Exporting Templates and Patterns in ReSharper 6.1

  One of the changes introduced with the new settings in ReSharper 6.1 is how importing and exporting of templates and custom patterns are done (Custom Patterns were previously known as Structural Search and Replace).  As part of the unification … Continue reading

Posted in How-To's | Tagged , , , , | 1 Comment

Templates Galore: Extending Functionality with Macros

This is final part of a four part series on Templates: Live Templates File Templates Surround Templates Extending Functionality with Macros   In previous posts we saw how to create Live, File and Surround templates. We also saw that the … Continue reading

Posted in How-To's | Tagged , | 14 Comments

Templates Galore: Surround Templates

This is part three of a four part series on Templates: Live Templates File Templates Surround Templates Extending Functionality with Macros Surround templates, as the name indicates, allow us to surround a selection of text and apply a transformation to … Continue reading

Posted in How-To's | Tagged , | Leave a comment

Templates Galore: File Templates

Continuing with Templates, in this post we’re going to take a look at File Templates. Whereas Live Templates allow us to generate interactive code and insert this at the current cursor position, File Templates allow us to do the same … Continue reading

Posted in How-To's | Tagged , | 14 Comments