'git' 无法显示,因为它的所有子项都在不可用的操作集中

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/32240031/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 11:18:55  来源:igfitidea点击:

'git' cannot be made visible because all of its children are in unavailable action sets

eclipsegitperspective

提问by Sharan Duggirala

I have this problem and I have no idea how to get the Git section on the toolbar. The image below shows the specific error :

我有这个问题,我不知道如何获得工具栏上的 Git 部分。下图显示了具体的错误:

git problem

混帐问题

Thank you for all your answers!

感谢您的所有回答!

采纳答案by VonC

This message has been introduced in Eclispe 4.4 (commit 427558bof eclipse/eclipse.platform.ui), replacing "command groups" by "action sets".

此消息已在Eclispe的4.4被引入(提交427558beclipse/eclipse.platform.ui),通过“取代“的命令组”动作组”。

See "How do I make my action set visible?"

请参阅“如何使我的操作集可见?

the user can always have the last say by customizing perspectives (Window > Customize Perspective).
From here, the user can turn on or off any action sets for the current perspective. This will override all the other mechanisms for defining action set visibility.

用户始终可以通过自定义视角 ( Window > Customize Perspective)拥有最后发言权。
从这里,用户可以打开或关闭当前视角的任何操作集。这将覆盖用于定义操作集可见性的所有其他机制。

回答by Christoff Erasmus

In the "Action Set Availability" tick "Git" and "Git Navigation Actions"

在“Action Set Availability”中勾选“Git”和“Git Navigation Actions”

enter image description here

在此处输入图片说明

Then in "Tool Bar Visibility" tick "Git"

然后在“工具栏可见性”中勾选“Git”

enter image description here

在此处输入图片说明