Dot pops out of parentheses

I'm sure this is the correct behavior - I'd just like to know how to turn it
off. :)

I'm using R# Code Completion. When I type

Return.Value(_ // _ indicates cursor

R# nicely completes the parentheses:

Return.Value(_)

Then let's say I start entering a parameter, e.g. DateTime.Now. I type
DateTime to produce:
Return.Value(DateTime_)

then I type the dot, and this is what I get:

Return.Value(DateTime)._

Typing the dot (in this example, at least) makes R# think I've completed the
parameter list.

Is there a option that can change this behavior? I still want the
parentheses completion, and of course I still want . to bring up a member
list.


7 comments
Comment actions Permalink

Yeah, that's definitely not correct behavior. I'm just curious... does it
still happen after restarting VisualStudio?

"Mark Wilden" <mark@mwilden.com> wrote in message
news:e626cd$612$1@is.intellij.net...

I'm sure this is the correct behavior - I'd just like to know how to turn
it off. :)

>

I'm using R# Code Completion. When I type

>

Return.Value(_ // _ indicates cursor

>

R

  1. nicely completes the parentheses:

>

Return.Value(_)

>

Then let's say I start entering a parameter, e.g. DateTime.Now. I type
DateTime to produce:
Return.Value(DateTime_)

>

then I type the dot, and this is what I get:

>

Return.Value(DateTime)._

>

Typing the dot (in this example, at least) makes R# think I've completed
the parameter list.

>

Is there a option that can change this behavior? I still want the
parentheses completion, and of course I still want . to bring up a member
list.



0
Comment actions Permalink

Paul Bradshaw schrieb:

Yeah, that's definitely not correct behavior. I'm just curious... does it
still happen after restarting VisualStudio?

>> Then let's say I start entering a parameter, e.g. DateTime.Now. I type
>> DateTime to produce:
>> Return.Value(DateTime_)
>>
>> then I type the dot, and this is what I get:
>>
>> Return.Value(DateTime)._
>>
>> Typing the dot (in this example, at least) makes R# think I've completed
>> the parameter list.

This is a known bug that happened to me, too. Turn off Wordwrap to work
around...

Alexander

0
Comment actions Permalink

"Alexander Reifinger" <nospam@reifinger.de> wrote in message
news:e674g9$do0$1@is.intellij.net...

>>> Typing the dot (in this example, at least) makes R# think I've completed
>>> the parameter list.
>

This is a known bug that happened to me, too. Turn off Wordwrap to work
around...


Bingo! Give the man a cigar.

Thanks -- at least I know how to work around it now.

///ark


0
Comment actions Permalink

Mark Wilden schrieb:

"Alexander Reifinger" <nospam@reifinger.de> wrote in message
news:e674g9$do0$1@is.intellij.net...

>>>> Typing the dot (in this example, at least) makes R# think I've completed
>>>> the parameter list.
>> This is a known bug that happened to me, too. Turn off Wordwrap to work
>> around...


Bingo! Give the man a cigar.


No, thanks. But do send me a pack of Gauloises, please ;)

Alexander

0
Comment actions Permalink

The "cursor jumps to the end of line" issue has been annoying ever since. Thanks a lot for the workaround!

But please, Jetbrains, REPAIR THAT!

0
Comment actions Permalink

this bug is still there in R# 2.5.2. It is very annoying since it essentially forbids using R# intellisense together with the word wrap feature of the C# editor. PLEASE FIX THAT ASAP!

Thanks,
Urs

0
Comment actions Permalink

Hello,

this bug is still there in R# 2.5.2. It is very annoying since it
essentially forbids using R# intellisense together with the word wrap
feature of the C# editor. PLEASE FIX THAT ASAP!


This problem started, I guess, with Visual Studio 8.0 that would handle offsets
differently in the word-wrap and no-word-wrap modes. We have put a significant
effort into fixing this behavior in the 3.0 release. The result is not ideal
yet, but finally I can myself work with word-wrap on, for the first time
in more than a year.

By “non-ideal” I mean that certain context actions would still jump to the
end of the line, but that's nothing compared to the completion problems,
which have been totally worked out, as it seems.


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


0

Please sign in to leave a comment.