Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellisense deleting code as I type

Intellisense (or Resharper) is occasionally deleting my C# code as I write it. It's occuring in declarations and in method calls, and seems to be triggered by a comma or open bracket. The Undo history shows the erroneous action simply as "Intellisense". What could be causing such behaviour?

I managed to reproduce one of these unhelpful deletions here:

enter image description here

I'm running VS 2015 Professional Update 3 with ReSharper 2016.3.1

EDIT: I passed this issue on to JetBrains, it's categorised as a critical bug on YouTrack

like image 270
David H Avatar asked Jan 18 '17 14:01

David H


People also ask

How do I fix VS code IntelliSense?

Troubleshooting# If you find IntelliSense has stopped working, the language service may not be running. Try restarting VS Code and this should solve the issue. If you are still missing IntelliSense features after installing a language extension, open an issue in the repository of the language extension.

How do I change autocomplete in Visual Studio?

Go to Tools | Options | Text Editor | C/C++. This dialog displays a window that allows you to toggle Automatic brace completion. Automatic brace completion is the feature where, when you type { , a corresponding } is automatically typed for you.


1 Answers

It's a problem in the Resharp-Installer for some "version-combinations". I talked to the Tech-Support about this. What's happening is basically the Resharper-Installation gets corrupted and sets some key-shortcuts for the wrong buttons. In your case a ',' deletes the whole word in front it seems. They're still unsure about which combinations lead to these problems and why. They told me to whether update my Visual Studio and reinstall Resharper, or use an older version of Resharper.

like image 138
Tubif Fux Avatar answered Sep 22 '22 11:09

Tubif Fux