Intellisense replaces my input with the default selected entry
[5.1.1720]
public class Foo
{
void Bar()
{
var reason = new System.ServiceModel.FaultReason(
new{CURSOR}
new System.ServiceModel.FaultReasonText("Test error", System.Globalization.CultureInfo.GetCultureInfo("en")),
new System.ServiceModel.FaultReasonText("Test Error", System.Globalization.CultureInfo.GetCultureInfo("en")))
}
}
When I in the above code hit "space", intellisense pops up and selects "FaultReasonText":
But I want to write "new [] {", so I type the opening bracket [ but then it's replaced with the intellisense content:
System.ServiceModel.FaultReasonText[{CURSOR}]
Is this by design or a bug? (I only want it to complete when I e.g. press Tab, not when I'm typing symbols or characters...).
Thanks.
Please sign in to leave a comment.
Hello,
At the moment this behavior is by design: ReSharper completes selected item
when '[' is typed. As a workaround, you can hide IntelliSense (with Esc key)
before typing '['. But you're right, in this case ReSharper gest in the way
and we will try addressing this problem in one of the future releases.
Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"