简体   繁体   English

带有新 Eclipse RCP 4.16 和 Egit 5.8 的空白“存储库视图”

[英]Blank “Repositories View” with new Eclipse RCP 4.16 and Egit 5.8

I have a problem when updating from egit 5.4 to 5.8 and also updating to latest Eclipse RCP 4.16.从 egit 5.4 更新到 5.8 以及更新到最新的 Eclipse RCP 4.16 时,我遇到了问题。 The clone operation works ok, but the "Repositories view" remains empty.克隆操作正常,但“存储库视图”仍然为空。 The Added repos can be selected from the GitStaging view.可以从 GitStaging 视图中选择已添加的存储库。 No errors in the logs, how can I solve that?日志中没有错误,我该如何解决?

添加 repo 后的空存储库视图

The AddRepositories view This is how the addRepositories view look, I tried with brand new repos and also with existing ones. AddRepositories 视图这是 addRepositories 视图的外观,我尝试使用全新的存储库以及现有的存储库。 still they arent'd displayed in the Git Repositories view他们仍然没有显示在 Git 存储库视图中

The fix for this is overriding the following method in the ApplicationWorkbenchAdvisor class:对此的修复是覆盖 ApplicationWorkbenchAdvisor class 中的以下方法:

  @Override
  public IAdaptable getDefaultPageInput() {
     return ResourcesPlugin.getWorkspace().getRoot();
  }

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM