"Unindent on Backspace" not working

C#, Visual Studio Professional 2022 17.6.5, ReSharper 2023.2/2023.2.1/2023.3.2

The setting just doesn't seem to work, I've tried installing the three different versions of ReSharper noted and I've tried both “To proper indent position” and “To nearest indent position” but when I set my cursor just before the first non-whitespace character on a line in a .cs file and hit backspace it just removes one space. Colleagues using the same versions of Visual Studio and ReSharper don't have this problem. Is there some other setting in Visual Studio or in ReSharper that could be causing this?

0
3 comments

Hello Scott,

thank you for contacting us.

 

The issue happened because you have Visual Studio Intellisense chosen in ReSharper | Options | Environment | IntelliSense | General.

If you choose ReSharper intellisense everything should work as expected.

 

This happens because in 2023.1.4 we've changed the behavior related to intellisense. It was done because of the Allow Visual Studio IntelliSense to be shown on cshtml JavaScript and CSS script blocks (https://youtrack.jetbrains.com/issue/RSRP-490852/Allow-Visual-Studio-IntelliSense-to-be-shown-on-cshtml-JavaScript-and-CSS-script-blocks) issue. And now we are facing the other side of fixing this issue. 

 

Here is an issue about these side effects in YouTrack with ID RSRP-493634 (https://youtrack.jetbrains.com/issue/RSRP-493634/Think-about-what-we-can-improve-for-our-users-in-terms-of-typing-assistant-when-Visual-Studio-Intellisense-is-enabled)

You are welcome to follow it and comment.

We are sorry for the inconvinience.

 

Thank you!

 

0

That fixed it, thanks.

0
Hello Scott,
thank you for letting me know.
Please feel free to contact us in case of problems or issues.
Thank you!
0

Please sign in to leave a comment.