5

When creating a property in Visual Studio, I use the snippet prop and can TAB between the type and the name and Visual Studio jumps between the 2.

ReSharper has taken over this functionality, and I would like to know how to reset it back to Visual Studio. The problem I have is I don't know where to look. In Visual Studio 2012 I can see a ReSharper menu, but there are so many options I don't know where to look.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Dave
  • 8,163
  • 11
  • 67
  • 103
  • 1
    hi, think you can use [reset to default settings](http://stackoverflow.com/questions/6820049/resharper-confused-my-visual-studio-reset-visual-studio-with-defaults) option? – Beytan Kurt Feb 15 '13 at 14:42
  • Thank you but I would not want to reset everything though, although if there are no other options it may be a solution! – Dave Feb 15 '13 at 14:55
  • I think you will find that Resharper's Live Templates override Visual Studio's (inferior) Snippets. Maybe you can rename the Resharper one and it will go back to using the VS one. Why do you not like the Resharper `prop` Live Template? – Piers Myers Feb 15 '13 at 15:15
  • then you should check [this](http://stackoverflow.com/questions/5800954/how-can-i-deactivate-a-single-live-templates-in-resharper) out, as it is an exact duplicate of your issue. – Beytan Kurt Feb 15 '13 at 15:50
  • When you install ReSharper it imports the existing snippets, I believe. Is this not the case? – Dmitri Nesteruk Feb 16 '13 at 10:33
  • 1
    @DmitriNesteruk - The issue isn't that it doesn't import them, it's that it behaves differently. For example, in VS type prop and then double tab. Then press tab another 6 times and you'll see the selection jump back and forth. Resharper doesn't allow this back and forth. – Dave Feb 19 '13 at 08:45
  • @BeytanKurt - Thank you, I will look into this, as this looks very promising. – Dave Feb 19 '13 at 08:45

2 Answers2

1

In ReSharper 9.2 in Visual Studio 2015, I achieved this by doing the following:

  1. Going to the ReSharper -> Tools -> Templates Explorer... menu
  2. Deleting all templates in all scopes in all three of the Live Templates, Surround Templates and File Templates tabs. To speed this up, I was able to select all templates in a scope by pressing Ctrl+A and then delete them by pressing the X button in the toolbar.
Sam
  • 40,644
  • 36
  • 176
  • 219
0

I had a similar situation with Visual Studio 2013 and ReSharper 9. I simply went to menu ReSharper → ToolsTemplates Explorer and then found the prop template and removed it.

You can also deselect templates as well which may work, but I didn't try that approach.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
jsw
  • 175
  • 3
  • 12