[MonoDevelop] Need some assistance with creating a MonoDevelop
Accelrator for Ctrl + Space
John Luke
jluke@users.sourceforge.net
Tue, 23 Mar 2004 13:25:15 -0500
On Tue, 2004-03-23 at 22:58 +1100, John BouAntoun wrote:
> Hi guys,
>
> I have implemented the following:
>
> --> begin code snip
>
> namespace MonoDevelop.EditorBindings.Commands
> {
> public class CompletionWindowPupUp : AbstractMenuCommand
> {
>
> <-- end code snip
>
> So what I've created is an Command that can be run to launch the code
> completion window popup on the character at the current InsertMark
> (cursor position) in the current source editor if there is a valid one
> open.
>
> I spent a long time searching the entire code base trying to find a
> place where I could wire this AbstractCommand into the Accelerator for
> Ctrl + Space, but had no luck whatsoever.
>
> I found a few potential positions, but it didn't seem to work out.
>
> I suspect also that Ctrl + Space has already been wired into template
> completion (when it should be code completion).
>
> All I need to close the bug in bugzilla is a way to wire it into Ctrl +
> Space, so some help here would be appreciated.
>
> JBA
>
I'm pretty sure the key bindings can be defined in the .addin files, but
if I remember correctly the CompletionWindow doesn't have a way to
trigger itself anyways yet.