duplicate closing parentheses

Since I upgraded to the release of 4.0, I'm getting a problem with auto completion when typing in a method with parameters.

If I type in:
Assert.IsNotNull
Then add in an opening parentheses resharper completes with closing parentheses and the parameter info in visual studio 2008 pops up
Assert.IsNotNull()
Then i begin typing my identifier for the parameter, and at this point the auto completion list pops up but it is laid underneath the parameter info window.
After I have typed in the entire name of my identifier for the parameter, I used to be able to just type in the closing parentheses, and it would move my cursor to the end, where i'd type in a semicolon and move on. But now, as long as the auto completion window is up AND the parameter info window is up, if I type in a closing parentheses I get a duplicated closing parentheses like so:
Assert.IsNotNull(node))
with my cursor between the 2 closing parentheses.
This actually happens as long as the auto complete window is open, regardless of the parameter info window. Although it'd be nice if the one didn't cover up the other.

So if I just start with:
Assert.IsNotNull()
and place my cursor inside the parentheses, type in "node" then type a closing parentheses, so long as the auto complete window is still open, i get a duplicate closing parentheses. If I type tab first, so that the completion window goes away, THEN type a closing parentheses it just moves my cursor to after the closing parentheses.

Edited by: Joe Eames on Jul 8, 2008 1:08 AM

7 comments
Comment actions Permalink

Do you have any other plugins or add-ons for VS?

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Joe Eames" <joeeames@gmail.com> wrote in message
news:19161096.91371215464897732.JavaMail.jive@app4.labs.intellij.net...

Since I upgraded to the release of 4.0, I'm getting a problem with auto
completion when typing in a method with parameters.

>

If I type in:
Assert.IsNotNull
Then add in an opening parentheses resharper completes with closing
parentheses and the parameter info in visual studio 2008 pops up
Assert.IsNotNull()
Then i begin typing my identifier for the parameter, and at this point the
auto completion list pops up but it is laid underneath the parameter info
window.
After I have typed in the entire name of my identifier for the parameter,
I used to be able to just type in the closing parentheses, and it would
move my cursor to the end, where i'd type in a semicolon and move on. But
now, as long as the auto completion window is up AND the parameter info
window is up, if I type in a closing parentheses I get a duplicated
closing parentheses like so:
Assert.IsNotNull(node))
with my cursor between the 2 closing parentheses



0
Comment actions Permalink

nope, i don't have any other plugins or addins.

Somehow it just seems to me that things aren't quite setup correctly, and that's probably because I had a beta version AND 3.5 installed, then I uninstalled the 4.0 beta, installed the 4.0 release, and during the install it uninstalled 3.5 then installed itself.

Since then there are several things that didn't seem right. I had to go re-hook up my shift-tab to unindent, I had to turn intellisense back on, and my live templates no longer appear in the intellisense list, I have to press Ctrl-J to get them to appear. The parameter window doesn't pop up above the code line anymore when the intellisense window appears.

0
Comment actions Permalink

Hello,

Are you sure you have turned R# intellisense on, not VS's? That could easily
be the source of all problems.


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0
Comment actions Permalink

Serge,
Could you point me at the documentation or directions to do that or make sure I have done that?

Sounds like in my uninstalls & reinstalls I did something dumb.

0
Comment actions Permalink

Hello,

Could you point me at the documentation or directions to do that or
make sure I have done that?


I meant R# Options versus Visual Studio Options, which are two different
dialog boxes. See ReSharper and Tools main menus, respectively.

Generally, VS intellisense should be off, and R# intellisense should be on.
Turning VS intellisense back on in VS options will interfere with R# intellisense
(unless you prefer raw VS intellisense, of course).


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0
Comment actions Permalink

I have three instances of ReSharper 4.0 installed (one on a notebook, one on
a desktop, and one in a virtual machine) and all three exhibit this behavior
because the VS Intellisense options aren't turned off after installation and
setup. Looks like an oversight in either the installer or the initial
ReSharper setup when Visual Studio 2008 if first launched.

"Serge Baltic" <baltic@intellij.net> wrote in message
news:dc0986bffeaf68cab0d834e346ea@news.intellij.net...

Hello,

>
>> Could you point me at the documentation or directions to do that or
>> make sure I have done that?
>

I meant R# Options versus Visual Studio Options, which are two different
dialog boxes. See ReSharper and Tools main menus, respectively.

>

Generally, VS intellisense should be off, and R# intellisense should be
on. Turning VS intellisense back on in VS options will interfere with R#
intellisense (unless you prefer raw VS intellisense, of course).

>


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”

>

0
Comment actions Permalink

I installed the latest bug fix release (819?) yesterday and it looks like
this solved this and a few other problems.

"Lothan" <lothan@newsguy.com> wrote in message
news:g5be5k$50d$1@is.intellij.net...

I have three instances of ReSharper 4.0 installed (one on a notebook, one
on a desktop, and one in a virtual machine) and all three exhibit this
behavior because the VS Intellisense options aren't turned off after
installation and setup. Looks like an oversight in either the installer or
the initial ReSharper setup when Visual Studio 2008 if first launched.

>

"Serge Baltic" <baltic@intellij.net> wrote in message
news:dc0986bffeaf68cab0d834e346ea@news.intellij.net...

>> Hello,
>>
>>> Could you point me at the documentation or directions to do that or
>>> make sure I have done that?
>>
>> I meant R# Options versus Visual Studio Options, which are two different
>> dialog boxes. See ReSharper and Tools main menus, respectively.
>>
>> Generally, VS intellisense should be off, and R# intellisense should be
>> on. Turning VS intellisense back on in VS options will interfere with R#
>> intellisense (unless you prefer raw VS intellisense, of course).
>>
>> —
>> Serge Baltic
>> JetBrains, Inc — http://www.jetbrains.com
>> “Develop with pleasure!”
>>
>>

0

Please sign in to leave a comment.