ReSharper Live Templates for validating parameters of public C# methods.

ReSharper Live Templates are smart shortcuts you can type and have filled in automatically. For instance, typing ‘foreach’ and pressing tab produces:

      foreach ( object o in something )
      {
      }

I’ve created 3 Live Templates for validating arguments in public methods (C#). Here’s a short video demonstration. I’ve blogged about these before for ReSharper 1.5 and said that there’s no way to export/import the templates. But in ReSharper 2.0, there is! You can get them here. Go to ReSharper/Options/Templates/LiveTemplates and click the ‘Import templates from file’ button.

🙏🙏🙏

Since you've made it this far, sharing this article on your favorite social media network would be highly appreciated 💖! For feedback, please ping me on Twitter.

Published