Author Topic: Postfix Live Templates in Resharper.  (Read 2051 times)

0 Members and 1 Guest are viewing this topic.

Atook

  • Swamp Rat
  • Posts: 1029
  • AKA Tim
Postfix Live Templates in Resharper.
« on: November 28, 2015, 02:21:59 PM »
Watching some android developer videos last night, and found a cool tip I thought I'd try in VS with ReSharper, since JetBrains makes both Resharper and IntelliJ. Here I'm using it to generate code that iterates over an AutoCAD collection.

Thought some of you might find it useful.

mohnston

  • Bull Frog
  • Posts: 305
  • CAD Programmer
Re: Postfix Live Templates in Resharper.
« Reply #1 on: December 03, 2015, 02:56:50 PM »
I'm using Resharper and don't get those intellisense options.
Any idea how to enable postfix?
It's amazing what you can do when you don't know what you can't do.
CAD Programming Solutions

Atook

  • Swamp Rat
  • Posts: 1029
  • AKA Tim
Re: Postfix Live Templates in Resharper.
« Reply #2 on: December 03, 2015, 03:15:41 PM »
Not quite sure I didn't enable anything special. Here's a screencap of my resharper options.

mohnston

  • Bull Frog
  • Posts: 305
  • CAD Programmer
Re: Postfix Live Templates in Resharper.
« Reply #3 on: December 05, 2015, 04:50:18 PM »
Postfix templates is a resharper extension that must be installed.
Still, nice feature. Thanks for sharing.
It's amazing what you can do when you don't know what you can't do.
CAD Programming Solutions

MexicanCustard

  • Swamp Rat
  • Posts: 705
Re: Postfix Live Templates in Resharper.
« Reply #4 on: December 07, 2015, 08:21:45 AM »
Postfix templates is a resharper extension that must be installed.
Still, nice feature. Thanks for sharing.

Thank you.  Was wondering why I didn't see it in options.
Revit 2019, AMEP 2019 64bit Win 10

Atook

  • Swamp Rat
  • Posts: 1029
  • AKA Tim
Re: Postfix Live Templates in Resharper.
« Reply #5 on: December 07, 2015, 11:37:16 AM »
Sorry guys, I didn't know it was an extension, I just did a base install of resharper 10 and it was there. Are you guys running a previous version?
« Last Edit: December 07, 2015, 11:41:48 AM by Atook »

Keith Brown

  • Swamp Rat
  • Posts: 601
Re: Postfix Live Templates in Resharper.
« Reply #6 on: December 07, 2015, 11:55:26 AM »
In Resharper 10 they are part of the base code.  In previous releases they were an extension.


http://blog.jetbrains.com/dotnet/2015/09/24/resharper-10-eap-2/
Keith Brown | AutoCAD MEP Blog | RSS Feed
AutoCAD MEP 2014 / Revit MEP 2014 / EastCoast CAD/CAM addon / Visual Studio 2013