开发者

Binding same Eclipse key combination in multiple Team Provider contexts

开发者 https://www.devze.com 2023-02-19 08:17 出处:网络
I have a handful of Eclipse (3.5, OS X) projects using different Team version control providers. I tried to map some hot keys to the VC commands I use often, primarily \"diff\" with the previous revis

I have a handful of Eclipse (3.5, OS X) projects using different Team version control providers. I tried to map some hot keys to the VC commands I use often, primarily "diff" with the previous revision/changeset.

Ideally I'd like to map the same key combo to work across all Team Providers where it makes sense. The key mappings of course conflict, since the commands are entirely different 开发者_StackOverflow中文版as far as the IDE is concerned, and Eclipse seems unaware of which Team Provider a project is using:

Binding same Eclipse key combination in multiple Team Provider contexts

Any way around this?


You need to implement your own command which would delegate to the relevant command for SVN, CVS or Mercurial, then assign you preferred keybinding to that command. I'd check why there is not a standard API in the eclipse.team stuff for each of those commands though, there may be a good reason there is not.

0

精彩评论

暂无评论...
验证码 换一张
取 消