You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Christian Lenz (JIRA)" <ji...@apache.org> on 2019/03/08 12:46:00 UTC

[jira] [Commented] (NETBEANS-432) Context-sensitive keyboard accelerators

    [ https://issues.apache.org/jira/browse/NETBEANS-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16787850#comment-16787850 ] 

Christian Lenz commented on NETBEANS-432:
-----------------------------------------

I'm definetly for it. Afaik there is sometimes the possibility of that like Ctrl+B is for "Go to declaration" and the category is "Go To" and there is Ctrl+B for "Repository browser" and the category is "Git" (It could be, that I added it for this category manually) So you see, we have the same keybinding for different stuff. For go to, it will work, inside of the editor. For git, it will work, if you are in the project tab. So NetBeans can handle it in some ways, but not in all. You can see my attachment for that example.

Anyway, yes NetBeans needs a more flexible way to handle context sensitive keys maybe we need more categories or other stuff. It could be, that the current behaviour, with the categories is to generic. Only guessing, not knowing. But yes, I also wish to have same key in different context.

And the new version of VS Code 1.32 have such flexible way now too: https://code.visualstudio.com/updates/v1_32#_keyboard-shortcuts-editor
They have a "when" expression, where you can define, when this shortcut will be used.

[~cowwoc] are you fine with creating a spec for that issue/improvement? What you think what should be done here. No code, no technical knowledge of the apis or not, but we need a specific way of steps to reproduce, how should we achieve that, with proposals etc. pp. So that would be really nice to know, that no one else needs to think about before they want to implement it. You can add it here: https://cwiki.apache.org/confluence/display/NETBEANS/Feature+Request+Outlines

Will help a lot :)

> Context-sensitive keyboard accelerators
> ---------------------------------------
>
>                 Key: NETBEANS-432
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-432
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: editor - Key bindings
>            Reporter: Gili
>            Priority: Major
>
> Following up on [https://netbeans.org/bugzilla/show_bug.cgi?id=222843] the IDE should be able to differentiate between users hitting ALT+A in the Find/Replace Dialog and ALT+A while the editor has a focus. In the former case I expect "Replace (A)ll" to get triggered. In the latter case, I expect the Ref(a)ctor pulldown menu to get triggered.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists