MTR
MTR

Reputation: 1740

Resharper inserts wrong snippets

I'm evaluating ReSharper Ultimate 2016.1.1 with Visual Studio Po 2015 Version 14.0.25123.00 Update 2 and have problems with some snippets.

E.g. Ctrl+k,s surround with #region snippet that worked ok without ReSharper, now inserts C++ regions even though it is in a C# file.

Does anybody know, why ReSharper inserts this snippet as C++ into my C# files?

TIA Michael

Upvotes: 0

Views: 50

Answers (1)

Igor Akhmetov
Igor Akhmetov

Reputation: 1930

That's a VS bug.

VS 2015 mixes up snippet languages when the MEF cache is (re-)built. It could be the very first start of VS or a first start after a new VS extension installation.

Restarting VS fixes the issue.

Upvotes: 0

Related Questions