Question

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?

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top