[6.1.0.11493]Intellisense usability issue

i just installed the first 6.1 EAP (on VS 2010) and played a little bit around with it on a VB project. My first impression of the promised performance improvements is that it feels not much faster, but this i will test in the next week in my production solution which has big performance trouble.

The first thing i stumbled over is the intellisense behavior. I tested the new autopopup settings and found that the two options "Display and preselect" and "Display but do not preselect" seems not to work. I explicetly misspelled a declaration like this:

2011-11-04 18h12_25.png
(which is a common mistake i make when i type fast). No matter which of  the two options i select in "Letters and digits", when i press the tab  key after finish typing my misspelled "intreger" is replaced by  "EnhancedInterfaceRenderer". In this case i except, that nothing happens when i press the tab key.

On the other hand when the entry is really selected like this

2011-11-04 18h18_18.png

and i press the tab key it is ok when my text is replaced.

R# 6.0 has a similar behavior and it is one of the most annoying issues for me. Is there any chance to change this behavior? In this case the old 5.0 intellisense was much better (or poorer ??? ;))

Regards
Klaus

4 comments
Comment actions Permalink

Hello Klaus,

The problem is that 'Tab' is a special key which completes an item from the
completion list even when it is not preselected (that is: the item will not
get completed when you type a space, any letter or press 'Enter' but it will
be completed when you press 'Tab'). ReSharper treats 'Tab' this way, so that
one could easily complete an item even when it is not preselected. Is there
a scenario when you really need to press 'Tab' and no other key fits?

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

i just installed the first 6.1 EAP (on VS 2010) and played a little
bit around with it on a VB project. My first impression of the
promised performance improvements is that it feels not much faster,
but this i will test in the next week in my production solution which
has big performance trouble.

The first thing i stumbled over is the intellisense behavior. I tested
the new autopopup settings and found that the two options "Display and
preselect" and "Display but do not preselect" seems not to work. I
explicetly misspelled a declaration like this:

Image:2011-11-04 18h12_25.png (which is a common mistake i make when
i type fast). No matter which of  the two options i select in "Letters
and digits", when i press the tab  key after finish typing my
misspelled "intreger" is replaced by  "EnhancedInterfaceRenderer". In
this case i except, that nothing happens when i press the tab key.

On the other hand when the entry is really selected like this

Image:2011-11-04 18h18_18.png

and i press the tab key it is ok when my text is replaced.

R# 6.0 has a similar behavior and it is one of the most annoying
issues for me. Is there any chance to change this behavior? In this
case the old 5.0 intellisense was much better (or poorer ???
)

Regards
Klaus
---
Original message URL:
http://devnet.jetbrains.net/message/5366911#5366911



0
Comment actions Permalink

Hello Andrey,

maybe it's the force of habit... I mostly press tab to complete my input the way you intended. But nevertheless, if the popup doesn't have the focus (when the selected item is marked with the dotted rectangle) and my input is completely different from the selection in the popup i expect R# is intelligent enough to guess that i don't want to complete my input from the popup. You mark the text which matches my input blue in the popup, so you should know, when my input don't match. But i think i can accustom myself to the behavior of the popup.

Today i've seen another thing in conjunction with intellisense. You said correctly that an item will not be completed if i press enter. But i have to press enter twice to add a new line.

Overall i must complimenting your work. It took a long time  for the first 6.1 EAP but the result is really good. The overall VB editing experience became better and until now i don't have any performance problems.

Regards
Klaus

0
Comment actions Permalink

Hello Klaus,

In case your input doesn't match anything in code completion list, ReSharper
should show a 'No suggestions' and pressing tab should not complete anything
as well. If ReSharper still shows rectangle selection around some item even
though it is not matched by current input, could you please attach a screenshot
demonstrating this?

As to the second problem that you've mentioned, I'm afraid I wasn't able
to reproduce this behavior. Does this happen in any file and any solution?

Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hello Andrey,

maybe it's the force of habit... I mostly press tab to complete my
input the way you intended. But nevertheless, if the popup doesn't
have the focus (when the selected item is marked with the dotted
rectangle) and my input is completely different from the selection in
the popup i expect R# is intelligent enough to guess that i don't want
to complete my input from the popup. You mark the text which matches
my input blue in the popup, so you should know, when my input don't
match. But i think i can accustom myself to the behavior of the popup.

Today i've seen another thing in conjunction with intellisense. You
said correctly that an item will not be completed if i press enter.
But i have to press enter twice to add a new line.

Overall i must complimenting your work. It took a long time  for the
first 6.1 EAP but the result is really good. The overall VB editing
experience became better and until now i don't have any performance
problems.

Regards
Klaus
---
Original message URL:
http://devnet.jetbrains.net/message/5387008#5387008



0
Comment actions Permalink

Hello Andrey,

In case your input doesn't match anything in code completion list, ReSharper

should show a 'No suggestions' and pressing tab should not complete anything
as well. If ReSharper still shows rectangle selection around some item even
though it is not matched by current input, could you please attach a screenshot
demonstrating this?



take a look at the first screenshot in my initial post. My guess is, that the behavior has to do with the "Match middle of identifiers" option. I have enabled it. While entering my input i can see how the selection changes in the popup and if the point is reached when my input doesn't match anything anymore the last selection stays with the dotted rectangle. Unfortunately i can't verify this because i've found that disabling "Match middle of identifiers" has no effect on the behavior of the intellisense popup. Take a look at the avi i attached. I hope you can see there what i mean.

Regards
Klaus

P.S.: Meanwhile i found that the EAP build causes VS 2008 sometimes crashing unexpected and not reproducible. Mainly it occurs when i activate the template explorer, which i have pinned at the left side together with the toolbox and the server explorer. but i also had crashes when closing R#'s options dialog or even when intellisense pops up.

Nachricht geändert durch Klaus Luedenscheidt



Attachment(s):
intellisense2.7z.zip
0

Please sign in to leave a comment.