Posts [ 10 ]

Re: Navigate intellisense without arrow keys?

First off, I'm enjoying using your product. Thanks for making it.

My question is about intellisense navigation. Is there a way to move through the intellisense list without moving my hand and using the up/down arrow keys? Sometimes I see which keyword i want to use but have to type most of it out irregardless of it being there.

Re: Navigate intellisense without arrow keys?

Hi Mike,

I investigated this area some time ago, and due to VS's architecture, there is no way to do this. Intellisense is implemented by the language service, which inspects the incoming stream of keypress events, and interpretes Up/Down key codes directly. There is no mechanism for ViEmu to use to convert a j/k keypress into moving up and down in the autocompletion drop down. It's a very bad design if you ask me, and it limits what can be done by an add-in, but unfortunately that's how it works.

Re: Navigate intellisense without arrow keys?

Re: Navigate intellisense without arrow keys?

pk, I understand your point. I will revisit this at some point in the future, but it would require substituting j/k keypress events by up/down keypress events, which I'm not even sure whether its doable using the Win32 hook model.

Re: Navigate intellisense without arrow keys?

Ryan, thanks for the suggestion. The reason I've found it troublesome is that, indeed, the Word & Outlook version of ViEmu *does* use hooks (unlike the VS and SQL versions, which use plain old subclassing). I did try doing the "switcheroo" on the keypress as you mention, while working in ViEmu/W&O, and I couldn't get it to work. It messed up user input. And thus I had to stop doing it and find some other way to do it. I still have to research it in detail, as I believe it might be possible in some cases - and of course very useful in many contexts.

When I get around to trying this out, I'll post on the ViEmu blog so everyone can stay up-to-date!