Very annoying completion problem, typing "if ("
This just started recently (I think in build 223)...
I have my options set so that there is a space after the word "if" but not
after the parenthesis, so the format is this:
if (boolexpression)
{
}
Unfortunately, Resharper (or maybe it's Visual Studio, I can't tell) has
suddenly tried to start completing the "if" statement, gets over zealous ...
I type "if" and hit the space, and this is what I'm left with ("|" denotes
the cursor)
if( |)
Since I'm typing quickly, I then type the opening paren, and end up with
this mess:
if( (|))
It's very frustrating and annoying. At the very least, it shouldn't be
ignorning my spacing preference, and shouldn't be inserting the extra
parens...
Anyone else seeing this?
Please sign in to leave a comment.
Try turning off "Auto-insert pair brackets, parentheses and quotes" (ReSharper
--> Options --> Editor). While you're there, I'd also turn off "Auto-insert
of close brace" for consistancy :)
hth -
/gerrod
No, I like those features, and this should work (and did work until
recently) with those features on.
"Gerrod Thomas" <gerrod.thomas@gmail.com> wrote in message
news:e5ac20a490788c8165f76c37a82@news.jetbrains.com...
>
>
>> This just started recently (I think in build 223)...
>>
>> I have my options set so that there is a space after the word "if" but
>> not after the parenthesis, so the format is this:
>>
>> if (boolexpression)
>> {
>> }
>> Unfortunately, Resharper (or maybe it's Visual Studio, I can't tell)
>> has suddenly tried to start completing the "if" statement, gets over
>> zealous ... I type "if" and hit the space, and this is what I'm left
>> with ("|" denotes the cursor)
>>
>> if( |)
>>
>> Since I'm typing quickly, I then type the opening paren, and end up
>> with this mess:
>>
>> if( (|))
>>
>> It's very frustrating and annoying. At the very least, it shouldn't
>> be ignorning my spacing preference, and shouldn't be inserting the
>> extra parens...
>>
>> Anyone else seeing this?
>>
>
Hello Paul,
I'm second for that. Not sure when it started to appear, but in all recent
builds
I run into this problem constantly, and it's really annoying. Certainly something
has
changed that causes this behavior.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Hello Paul,
I'm second for that. Not sure when it started to appear, but in all recent
builds
I run into this problem constantly, and it's really annoying. Certainly something
has
changed that causes this behavior.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Hello Paul,
we've investigated this problem and found its origin (when you complete
'if' statement, ReSharper inserts a pair of parens, and the second pair you
type unconsciously by pressing '(' just after completion). It will be fixed
soon.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
>> Try turning off "Auto-insert pair brackets, parentheses and quotes"
>> (ReSharper --> Options --> Editor). While you're there, I'd also turn
>> off "Auto-insert of close brace" for consistancy :)
>>
>> hth -
>> /gerrod
>>> This just started recently (I think in build 223)...
>>>
>>> I have my options set so that there is a space after the word "if"
>>> but not after the parenthesis, so the format is this:
>>>
>>> if (boolexpression)
>>> {
>>> }
>>> Unfortunately, Resharper (or maybe it's Visual Studio, I can't tell)
>>> has suddenly tried to start completing the "if" statement, gets over
>>> zealous ... I type "if" and hit the space, and this is what I'm left
>>> with ("|" denotes the cursor)
>>> if( |)
>>>
>>> Since I'm typing quickly, I then type the opening paren, and end up
>>> with this mess:
>>>
>>> if( (|))
>>>
>>> It's very frustrating and annoying. At the very least, it shouldn't
>>> be ignorning my spacing preference, and shouldn't be inserting the
>>> extra parens...
>>>
>>> Anyone else seeing this?
>>>
Thanks! (and just a note, the spacing issue is just as important to me as
the extra parens...)
I look forward to the fix!
"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d912a54f8c8171460594983@news.intellij.net...
>
>
>
>
>> No, I like those features, and this should work (and did work until
>> recently) with those features on.
>>
>> "Gerrod Thomas" <gerrod.thomas@gmail.com> wrote in message
>> news:e5ac20a490788c8165f76c37a82@news.jetbrains.com...
>>
>>> Try turning off "Auto-insert pair brackets, parentheses and quotes"
>>> (ReSharper --> Options --> Editor). While you're there, I'd also turn
>>> off "Auto-insert of close brace" for consistancy :)
>>>
>>> hth -
>>> /gerrod
>>>> This just started recently (I think in build 223)...
>>>>
>>>> I have my options set so that there is a space after the word "if"
>>>> but not after the parenthesis, so the format is this:
>>>>
>>>> if (boolexpression)
>>>> {
>>>> }
>>>> Unfortunately, Resharper (or maybe it's Visual Studio, I can't tell)
>>>> has suddenly tried to start completing the "if" statement, gets over
>>>> zealous ... I type "if" and hit the space, and this is what I'm left
>>>> with ("|" denotes the cursor)
>>>> if( |)
>>>>
>>>> Since I'm typing quickly, I then type the opening paren, and end up
>>>> with this mess:
>>>>
>>>> if( (|))
>>>>
>>>> It's very frustrating and annoying. At the very least, it shouldn't
>>>> be ignorning my spacing preference, and shouldn't be inserting the
>>>> extra parens...
>>>>
>>>> Anyone else seeing this?
>>>>
>
Thanks! (and just a note, the spacing issue is just as important to me as
the extra parens...)
I look forward to the fix!
"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d912a54f8c8171460594983@news.intellij.net...
>
>
>
>
>> No, I like those features, and this should work (and did work until
>> recently) with those features on.
>>
>> "Gerrod Thomas" <gerrod.thomas@gmail.com> wrote in message
>> news:e5ac20a490788c8165f76c37a82@news.jetbrains.com...
>>
>>> Try turning off "Auto-insert pair brackets, parentheses and quotes"
>>> (ReSharper --> Options --> Editor). While you're there, I'd also turn
>>> off "Auto-insert of close brace" for consistancy :)
>>>
>>> hth -
>>> /gerrod
>>>> This just started recently (I think in build 223)...
>>>>
>>>> I have my options set so that there is a space after the word "if"
>>>> but not after the parenthesis, so the format is this:
>>>>
>>>> if (boolexpression)
>>>> {
>>>> }
>>>> Unfortunately, Resharper (or maybe it's Visual Studio, I can't tell)
>>>> has suddenly tried to start completing the "if" statement, gets over
>>>> zealous ... I type "if" and hit the space, and this is what I'm left
>>>> with ("|" denotes the cursor)
>>>> if( |)
>>>>
>>>> Since I'm typing quickly, I then type the opening paren, and end up
>>>> with this mess:
>>>>
>>>> if( (|))
>>>>
>>>> It's very frustrating and annoying. At the very least, it shouldn't
>>>> be ignorning my spacing preference, and shouldn't be inserting the
>>>> extra parens...
>>>>
>>>> Anyone else seeing this?
>>>>
>
Excellent! Thank you!
"Oleg Stepanov (JetBrains)" <Oleg.Stepanov@JetBrains.Com> wrote in message
news:55e7741641dd338c81720879617cd@news.intellij.net...
>
>
>
>> This just started recently (I think in build 223)...
>>
>> I have my options set so that there is a space after the word "if" but
>> not after the parenthesis, so the format is this:
>>
>> if (boolexpression)
>> {
>> }
>> Unfortunately, Resharper (or maybe it's Visual Studio, I can't tell)
>> has suddenly tried to start completing the "if" statement, gets over
>> zealous ... I type "if" and hit the space, and this is what I'm left
>> with ("|" denotes the cursor)
>>
>> if( |)
>>
>> Since I'm typing quickly, I then type the opening paren, and end up
>> with this mess:
>>
>> if( (|))
>>
>> It's very frustrating and annoying. At the very least, it shouldn't
>> be ignorning my spacing preference, and shouldn't be inserting the
>> extra parens...
>>
>> Anyone else seeing this?
>>
>
Excellent! Thank you!
"Oleg Stepanov (JetBrains)" <Oleg.Stepanov@JetBrains.Com> wrote in message
news:55e7741641dd338c81720879617cd@news.intellij.net...
>
>
>
>> This just started recently (I think in build 223)...
>>
>> I have my options set so that there is a space after the word "if" but
>> not after the parenthesis, so the format is this:
>>
>> if (boolexpression)
>> {
>> }
>> Unfortunately, Resharper (or maybe it's Visual Studio, I can't tell)
>> has suddenly tried to start completing the "if" statement, gets over
>> zealous ... I type "if" and hit the space, and this is what I'm left
>> with ("|" denotes the cursor)
>>
>> if( |)
>>
>> Since I'm typing quickly, I then type the opening paren, and end up
>> with this mess:
>>
>> if( (|))
>>
>> It's very frustrating and annoying. At the very least, it shouldn't
>> be ignorning my spacing preference, and shouldn't be inserting the
>> extra parens...
>>
>> Anyone else seeing this?
>>
>