문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top