Help: Fix using Tab to select an autocomplete from R# adds trailing characters to end of line

Two situations:

Going to:

Resharper > Options... > Environment > IntelliSense > General 
  1. Selecting Visual Studio
  2. Selecting ReSharper

In the first situation, when I highlight, for example, a method name, like highlighting 'IsFalse' in the example below:

Assert.IsFalse(myBool);

and then I type the following: 'IsNotIn', the autocomplete suggests:

IsNotInstanceOfType

Using the arrow keys, I move the highlighted option down to 'IsNotInstanceOfType' and press Tab to accept the suggestion. The line now reads as the following:

Assert.IsNotInstanceOfType(myBool);

Completing the same steps, but in situation 2, using the ReSharper IntelliSense, results in the following line:

Assert.IsNotInstanceOfType(myBool)yBool);

The more of the name you type before accepting the suggestion, the worse the trailing characters are, for example only typing 'is' and accepting the suggestion results in:

Assert.IsNotInstanceOfType(myBool));

This is obviously not ideal and has resulted in disabling the otherwise superior ReSharper IntelliSense. Any assistance fixing this issue would be appreciated.

0
3 comments
Avatar
Permanently deleted user

2017.2, thank you, I'm updating now. I've only just installed R# a couple of weeks ago, didn't realise there was an update already.

0

Looks like there were still some cases where this bug would crop up, which have been fixed in 2017.2.2:
https://blog.jetbrains.com/dotnet/2017/10/06/resharper-ultimate-2017-2-2/

0

Please sign in to leave a comment.