AutoComplete

Hi,

since my first R#2.0 beta (I think it was 214) I am having this effect:

I type:
this.EventLog.WriteEntry(e.Message, EventLogEntryT|);

Now I autocomplete the EventLogEntryType by typing "." resulting in:

this.EventLog.WriteEntry(e.Message, EventLogEntryType);.|

The dot is at the end of the line rather than after EventLogEntryType,
and the popup for the members shows the same list that is shown if you
type "." on an empty line.

At first, I thought that this was surely a known bug that will be fixed
eventually, but as no one else has "complained" here AFAICS I thought I
should ask ;)

Also, an autocomplete in the middle of a statement often deletes the
remainder of the line (everything on the right hand side of the cursor).

Is there some setting that I messed up or is this a common bug no one
else is annoyed about?

Other than that, R# has taken a huge burden of me - I used to work in
Eclipse a lot and working in VS was a drag. Now with R#, which we use
since 1.5, I know why so many people prefer IDEA to the free and hyped
Eclipse...

--
Thanks,
Alexander Reifinger

7 comments
Comment actions Permalink

Hello Alexander,

Is it repeatable in the latest build (236)? Some time ago we applied a
fix for this problem.

Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hi,

since my first R#2.0 beta (I think it was 214) I am having this
effect:

I type:
this.EventLog.WriteEntry(e.Message, EventLogEntryT|);
Now I autocomplete the EventLogEntryType by typing "." resulting in:

this.EventLog.WriteEntry(e.Message, EventLogEntryType);.|

The dot is at the end of the line rather than after EventLogEntryType,
and the popup for the members shows the same list that is shown if you
type "." on an empty line.

At first, I thought that this was surely a known bug that will be
fixed eventually, but as no one else has "complained" here AFAICS I
thought I should ask ;)

Also, an autocomplete in the middle of a statement often deletes the
remainder of the line (everything on the right hand side of the
cursor).

Is there some setting that I messed up or is this a common bug no one
else is annoyed about?

Other than that, R# has taken a huge burden of me - I used to work in
Eclipse a lot and working in VS was a drag. Now with R#, which we use
since 1.5, I know why so many people prefer IDEA to the free and hyped
Eclipse...



0
Comment actions Permalink

Oleg Stepanov (JetBrains) schrieb:

Hello Alexander,

Is it repeatable in the latest build (236)? Some time ago we applied a
fix for this problem.


Yes.

Alexander

0
Comment actions Permalink

Hello Alexander,

Can you compose a small piece of code which casues this bug to reproduce?

Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Oleg Stepanov (JetBrains) schrieb:

>> Hello Alexander,
>>
>> Is it repeatable in the latest build (236)? Some time ago we applied
>> a fix for this problem.
>>

Yes.

Alexander



0
Comment actions Permalink

Oleg Stepanov (JetBrains) schrieb:

Hello Alexander,

Can you compose a small piece of code which casues this bug to reproduce?


After playing around a bit:

namespace Test {
static class Test {
static void Main() {
new string(new char().GetType().ass|);
}
}
}

Press -, the popup opens showing Assembly and AssemblyQualifiedName. Notice the cursor jumps to the end of the statement after the ";". I noticed that if instead of "ass" (no pun intended!) I type E-, E correctly expands to Equals(), so the problem seems to be related to the popup window appearing. I tested on: >> new string(new char(new ac|).GetType().Equals()); -, select something results to: >> new string(new char(new AccessViolationException()).GetType().Equals());| Notice the cursor at the end of the line, again. More testing: >> new string(new char().get|.GetType().Equals()); -, the cursor jumps to the end of the line. Selecting something results to: new string(new char().GetHashCode()| Remainder of the line is deleted. Especially the last one does not always work, though. If I undo , move the cursor after get again, it works as expected. If I delete the t, type it again and press -]]>, the cursor jumps to the end of
the line again.

The problem with the cursor jumping to the end of the line seems to be
the common problem.

Alexander

0
Comment actions Permalink

Hello Alexander,

Do you have word wrap enabled (Edit -> Advanced -> Word Wrap)?

Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Oleg Stepanov (JetBrains) schrieb:

>> Hello Alexander,
>>
>> Can you compose a small piece of code which casues this bug to
>> reproduce?
>>

After playing around a bit:

namespace Test {
static class Test {
static void Main() {
new string(new char().GetType().ass|);
}
}
}
Press <ctrl>-<space>, the popup opens showing Assembly and
AssemblyQualifiedName. Notice the cursor jumps to the end of the
statement after the ";". I noticed that if instead of "ass" (no pun
intended!) I type E<ctrl>-<space>, E correctly expands to Equals(), so
the problem seems to be related to the popup window appearing.

I tested on:

>>> new string(new char(new ac|).GetType().Equals());
>>>

<ctrl>-<space>, select something results to:

>>> new string(new char(new
>>>

AccessViolationException()).GetType().Equals());|
Notice the cursor at the end of the line, again.

More testing:

>>> new string(new char().get|.GetType().Equals());
>>>

<ctrl>-<space>, the cursor jumps to the end of the line. Selecting
something results to:
new string(new char().GetHashCode()|
Remainder of the line is deleted.
Especially the last one does not always work, though. If I undo , move
the cursor after get again, it works as expected. If I delete the t,
type it again and press <ctrl>-<space>, the cursor jumps to the end of
the line again.

The problem with the cursor jumping to the end of the line seems to be
the common problem.

Alexander



0
Comment actions Permalink

Oleg Stepanov (JetBrains) schrieb:

Hello Alexander,

Do you have word wrap enabled (Edit -> Advanced -> Word Wrap)?


Yes. But the lines did not wrap.

test

After removing word wrap, the examples I provided all work as expected.
Will this be fixed in 237?

Thanks,
Alexander

0
Comment actions Permalink

Hello Alexander,

Not sure. We don't currently know why it happens in this mode.

Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Oleg Stepanov (JetBrains) schrieb:

>> Hello Alexander,
>>
>> Do you have word wrap enabled (Edit -> Advanced -> Word Wrap)?
>>

Yes. But the lines did not wrap.

test

After removing word wrap, the examples I provided all work as
expected. Will this be fixed in 237?

Thanks,
Alexander



0

Please sign in to leave a comment.