Intellisense behavior.

This has been driving me nutz for years.

When I declare a variable or parameter:

     AutoError au

Intellisense will give me an option for a variable name: autoError.

The problem is that no item in the completion list is selected and I'm forced to use the arrow key to select it.

Is there a way I can get this to behave like intellisense generally does, selecting the closest match. 99 percent of the time ReSharper is giving me the name I want to use and I just want to hit space or enter.

Ctrl-Alt-Spc or any other completion shortcut will not work, I have to use the arrow key.

-----------------------------------------------------------

Oh, additionaly is there any way I can get SmartCompletion to be the default for intellisense? I'd rather use Ctrl-Alt-Spc to get the wider scoped list. I'd say the vast majority of the time SmartCompletion is what I want.

Thanks in advance.

3 comments
Comment actions Permalink

Hello Seamus,

You can use Ctrl+Enter shortcut to insert the suggested name in case no item
is selected. Let me know if this helps. Thank you!

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

This has been driving me nutz for years.

When I declare a variable or parameter:

AutoError au

Intellisense will give me an option for a variable name: autoError.

The problem is that no item in the completion list is selected and I'm
forced to use the arrow key to select it.

Is there a way I can get this to behave like intellisense generally
does, selecting the closest match. 99 percent of the time ReSharper is
giving me the name I want to use and I just want to hit space or
enter.

Ctrl-Alt-Spc or any other completion shortcut will not work, I have to
use the arrow key.

-----------------------------------------------------------

Oh, additionaly is there any way I can get SmartCompletion to be the
default for intellisense? I'd rather use Ctrl-Alt-Spc to get the wider
scoped list. I'd say the vast majority of the time SmartCompletion is
what I want.

Thanks in advance.

---
Original message URL:
http://www.jetbrains.net/devnet/message/5265228#5265228



0
Comment actions Permalink

That's it!

I love you!

0
Comment actions Permalink

Hello,

Oh, additionaly is there any way I can get SmartCompletion to be the
default for intellisense? I'd rather use Ctrl-Alt-Spc to get the wider
scoped list. I'd say the vast majority of the time SmartCompletion is
what I want.


You can swap Basic Completion with Smart Completion (both invoked explicitly
from keyboard/menu/toolbar) by reassigning the keyboard shortcuts.

As for the auto-popup completion, it's quite a different thing from the two
above (though it looks mostly like Basic Completion), and it is not currently
possible to switch its behavior.


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


0

Please sign in to leave a comment.