I'm getting quite annoyed with a feature of Resharper that I just cannot find how to disable independently.
With Resharper turned off, whenever I type prop
in VS2015 and press TAB
, I get the following auto-generated code:
public int MyProperty { get; set; }
and I'm then able to switch between int
and MyProperty
repeatedly by pressing TAB
again.
I'm also able to use autocomplete to fill in the variable type as I type.
For example, lets say I wanted to create a property called "test" of type "string", I would do the following:
- type
prop
- press
TAB
to generate the property code template - type
stri
- press
TAB
to autocomplete the variable type withstring
- press
TAB
to move to the variable name placeholder - type
test
- press
Return
to finish
perfect.
However, with Resharper enabled, whilst steps 1,2 and 3 still work, it all goes to pot after that!
If I press TAB to try and autocomplete the variable type, the cursor simply moves over to the variable name, leaving the variable type as stri
.
If I then press TAB
(or even SHIFT+TAB
) again to try and get back to it, it simply finishes the line.
To make things clearer, I've included two gifs demonstrating my problem.
This first one shows what happens with Resharper disabled:
Whilst this one illustrates the frustration I'm currently experiencing with Resharper enabled:
It looks like you have an intellisense setting conflict. Re-Enable Resharper and then change this setting:
Resharper->Options->IntelliSense->General
Change the selection from "Visual Studio" to "Resharper", hit Save and the desired behaviour should be yours.