简体   繁体   中英

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. The clone operation works ok, but the "Repositories view" remains empty. The Added repos can be selected from the GitStaging view. 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. still they arent'd displayed in the Git Repositories view

The fix for this is overriding the following method in the ApplicationWorkbenchAdvisor class:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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