views:

746

answers:

1

I installed Resharper in VS2008 and it seems to have taken over some of the snippets I've come to rely on. For instance, prop, foreach, etc...

How can I tell Resharper to let VS2008 use its own snippets or at least not to overwrite snippets that already exist.
Better yet, is there a way to selectively tell Resharper which snippets it can overwrite and which it shouldn't?

I know about the Live Templates menu item that lets you pick and choose, but after deselecting 'foreach', for example, VS (or probably Resharper) treats it as a function. In other words, when I type 'fore' and hit tab for autocomplete, I end up with 'foreach()' instead of the snippet operation.

Thanks

+3  A: 

You can uncheck the ones that you don't want to use from Live Templates window. foreach template is under iterations group.

idursun
I did that, but then it treats it as a function, e.g. auto-complete results in its use as a function. See the last paragraph of my question.
AngryHacker
Well, I have read it and I tried the way you described. It was working correct at first and now I am trying again and surprisingly I am facing the same problem!
idursun
It seems like a bug to me because it works fine before ReSharper's IntelliSense is loaded, but after it is loaded (by pressing Ctrl+Space) it behaves like the way you described. Good luck with that.
idursun
ok, thanks. I'll try jetbrain's forums.
AngryHacker
Please let us know if you find an answer!
Joel in Gö

related questions