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

2019-03-08 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-432:
-

It is a pity to hear that, maybe you can send me a mail to letting me know what 
are the biggest reasons. Not doing here, beacuse it is not the right way. 
christian.lenz [ at ] gmx.net

> 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
> Attachments: same shortcuts for different categories.png
>
>
> 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



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

2019-03-08 Thread Gili (JIRA)


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

Gili commented on NETBEANS-432:
---

Sorry Christian, I've moved off Netbeans so I'm no longer willing to spend any 
more time on this. 

> 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
> Attachments: same shortcuts for different categories.png
>
>
> 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



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

2019-03-08 Thread Christian Lenz (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



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

2018-03-06 Thread Gili (JIRA)

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

Gili commented on NETBEANS-432:
---

Quoting [~jtulach] from the mailing list:
{quote}Out of curiosity (as I may still be living in the past), here is one of 
the
 documents I have written when attempting to (re)design the NetBeans action
 system:

[https://openide.netbeans.org/proposals/actions/index.html]

In general my intention was to use [Action.callback](
 
[http://bits.netbeans.org/8.2/javadoc/org-openide-awt/org/openide/awt/Actions.html#callback-java.lang.String-javax.swing.Action-boolean-java.lang.String-java.lang.String-boolean-])
 actions to register a generic placeholder with a shortcut that can then do
 whatever each component wants.
{quote}

> 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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