This is not going to work. The command handler for the Publish action (org.eclipse.wst.server.ui.internal.view.servers.ServerActionHandler
) expects the current selection to be a server and doesn't do anything if it is not. So you have to be in the server view for it to work.
eclipse shortcut publish everywhere
-
11-07-2023 - |
Pergunta
I would like to change the publish shortcut behaviour to apply to every window i work.
This would remove the need to be in the server view to use this shortcut (CTRL+ALT+P)
So far I followed this post: eclipse key bindings everywhere
Setting "when" to "in windows" did not work. I guess because the shortcut is still part of the category "server"
How can I change the category? Is there another way to fix this?
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow