Reputation: 6716
A product like Resharper has many settings, and I can't seem to find the right settings to get the exact behavior I desire from it.
The behavior I am trying to change is this: Suppose the endresult I want is
but the line currently is
As you expect I start typing:
and after a tab I get this
but I wanted it to become
Does anyone know how I can change the Resharper settings in such a manner that my desired behavior is realized? Thank you.
EDIT: Note that tab does perform the desired behavior in the default VS Intellisense.
Upvotes: 7
Views: 1840
Reputation: 10138
In this particular case, here's what you should do:
SomeMethod()
, type in Math.Ab
, and complete Abs
with Enter, as correctly suggested by Rob H. You'll end up with Math.Abs(SomeMethod();
Keep in mind though that this might not be the optimal solution provided that you probably have plenty of other usages of code completion that could conflict with this kind of settings change.
If that kind of similar code modification is required in multiple places, you should possibly create a search and replace pattern instead.
Upvotes: 8
Reputation: 1849
Hitting Enter instead of Tab will insert without overwriting, although you then end up with
Math.Abs()SomeMethod();
Upvotes: 4