RFC: make ctrl-shift-d debug instead of duplicate (?)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

RFC: make ctrl-shift-d debug instead of duplicate (?)

Tobias Pape
Hi,

I am still a bit puzzled that debugIt has no keyboard
shortcut. I think ctrl-shift-d (viz ctrl-d for doIt) would fit.
In TextEditor and ParagraphEditor, this is used for Duplicate:

duplicate: aKeyboardEvent
        "Paste the current selection over the prior selection, if it is non-overlapping and
         legal. ..."

I have never used it and it seems to be non-obvious. Who is with me
overtaking the shortcut for debugIt?

Best regards
        -Tobias
Reply | Threaded
Open this post in threaded view
|

Re: RFC: make ctrl-shift-d debug instead of duplicate (?)

Ben Coman
Just for reference, Pharo uses Cmd-Shift-D for debug on Mac, and are
moving to Cmd=Ctrl on Windows.  I use it frequently and wouldn't want
to be without it (but never known any different)
cheers -ben

On Thu, Jun 25, 2015 at 12:47 AM, Tobias Pape <[hidden email]> wrote:

> Hi,
>
> I am still a bit puzzled that debugIt has no keyboard
> shortcut. I think ctrl-shift-d (viz ctrl-d for doIt) would fit.
> In TextEditor and ParagraphEditor, this is used for Duplicate:
>
> duplicate: aKeyboardEvent
>         "Paste the current selection over the prior selection, if it is non-overlapping and
>          legal. ..."
>
> I have never used it and it seems to be non-obvious. Who is with me
> overtaking the shortcut for debugIt?
>
> Best regards
>         -Tobias

Reply | Threaded
Open this post in threaded view
|

Re: RFC: make ctrl-shift-d debug instead of duplicate (?)

Chris Muller-3
In reply to this post by Tobias Pape
I support reducing the gestures needed for getting into the debugger
and stepping through code.  A hot-key for debug-it sounds good but if
we do that then we should go all the way and fix the focus problem
too!  When the debugger opens, give keyboard focus to the stack-frame
list or, if mouseOverForKeyboard is set, to the widget under the hand.
Currently I have to move the mouse out and back in to gain focus and
start debugging with hot-keys.

On Wed, Jun 24, 2015 at 11:47 AM, Tobias Pape <[hidden email]> wrote:

> Hi,
>
> I am still a bit puzzled that debugIt has no keyboard
> shortcut. I think ctrl-shift-d (viz ctrl-d for doIt) would fit.
> In TextEditor and ParagraphEditor, this is used for Duplicate:
>
> duplicate: aKeyboardEvent
>         "Paste the current selection over the prior selection, if it is non-overlapping and
>          legal. ..."
>
> I have never used it and it seems to be non-obvious. Who is with me
> overtaking the shortcut for debugIt?
>
> Best regards
>         -Tobias