'Surround with' overwrite existing text when ReSharper is enabled

Answered

Hi.

 

When selecting text, and choosing 'Surround with', the selected text is being overwritten.

see GIF screenshot here:

 

When 'ReSharper' checkbox in 'Products & Features' is unchecked, the 'surround with' feature is working as expected.

4 comments
Comment actions Permalink

Hello Itamar,

What ReSharper build do you use - ReSharper | Help | About JB ReSharper Ultimate? 

Thanks! 

0
Comment actions Permalink

Hello Alexander.

 

the version I was using is 10.0.2 and Visual studio version is 14.0.25123.0

I've just ran 'Check for updates' and updated to 2016.1.1.

and the issue is now solved!

 

but a new (smaller) issue just raised when using specifically in '#region' snippet:

instead of getting #region and #endregion, i'm getting

#pragma region name

#pragma endregion

 

see screenshot:

 

Thank you.

0
Comment actions Permalink

Itamar,

Thanks for the update. There was the following issue in R# 10.0.2 https://youtrack.jetbrains.com/issue/RSRP-452582 and yes, it has been fixed in R# 2016.1 (and in R# 2016.1.1 as well). 

As for the new issue: does it happen with suspended ReSharper as well?

Thanks! 

0
Comment actions Permalink

Hi

you are right, I forgot to mention: when ReSharper is suspended the issue is resolved.

0

Please sign in to leave a comment.