how to access keystroke event in Visual Studio.NET 2003



Hi,

I have some questions about writing plugins for Visual Studio .NET
2003.

1) how do we detect keystroke events in the text editor? The only text
editor event that we find exposed is LineChanged. Sometimes we also see
erratic occurrence of CharLeft/CharRight commands, but they do not
occur for every keystroke, in fact sometimes they do not happen at all.
We are using EventWatcher from
http://msdn.microsoft.com/vstudio/downloads/samples/automation2002/,
which is basically the only treatment of VS events we could find. Of
course, from the example of commercial plugins like VisualAssist and
CodeRush, it is clear that these keystrokes are exposed somehow.


2) is there is a way to trap the code autocomplete/intellisense popup
activation event?

Thank you very much for your consideration.

Michael L

.



Relevant Pages

  • Re: Tab wars revisited (was Re: Python indentation)
    ... >> Yeah, yeah I know that this or that editor has a shortcut enabled via ... >> keystroke, ... > any editor that cannot is broken. ... one could be stuck with nothing but vi to do editing with since all unixes ...
    (comp.lang.python)
  • Re: any recommended simple text editors?????
    ... keystroke help built into the top of the editor display. ...
    (freebsd-questions)
  • Visual Studio 2008 Express Edition: Keystrokes altered
    ... I am using 64-bit Vista and Visual Studio 2008 Express Edition. ... I found when I wrote the codes at Visual Studio 2008 Express Edition, some keystrokes of the keyboard were altered. ... for keystroke '>', ...
    (microsoft.public.vstudio.general)
  • Re: [9fans] autoroff
    ... so an editor could re-typeset your document on every keystroke ... avoiding startup overhead. ...
    (comp.os.plan9)
  • Re: Icon Problem
    ... >> hitting the INS key when I am editing in Windows. ... believe there is an editor API they are using. ... There appears to be some particular keystroke combination which ... "The reasonable man adapts himself to the world. ...
    (microsoft.public.win2000.setup)