在 Eclipse-CDT Juno 中禁用 EGit
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12867268/
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
Disabling EGit in Eclipse-CDT Juno
提问by Josh
This thread: How to disable EGit temporarily?discusses how to disable EGit in Eclipse, but when I go to "Startup and Shutdown"
, there is no option to disable EGit.
这个线程:如何暂时禁用 EGit?讨论了如何在 Eclipse 中禁用 EGit,但是当我转到 时 "Startup and Shutdown"
,没有禁用 EGit 的选项。
How can I control what plug-ins are loaded in Eclipse-CDT?
如何控制在Eclipse-CDT中加载哪些插件?
采纳答案by William Symionow
To uninstall plug-ins or software from Eclipse:
要从 Eclipse 卸载插件或软件:
- Help menu
- Install New Software
- In the dialog, select the little link that says "What is Already Installed"
- Anything under the 'Installed Software' tab can be removed
- 帮助菜单
- 安装新软件
- 在对话框中,选择显示“已安装的内容”的小链接
- 可以删除“已安装软件”选项卡下的任何内容
I think in the latest release of Eclipse, you will NOT find eGit in this list. Instead you will find it under the features/plugins list. SO, it is not easy to remove. I would suspect you can still goto the Eclipse install directory and cherry pick it out but whats the point? Just follow bobestm advice and disconnect the project from git and CDT should not bother you about it (mine does not...)
我认为在最新版本的 Eclipse 中,您不会在此列表中找到 eGit。相反,您会在功能/插件列表下找到它。所以,去除并不容易。我怀疑您仍然可以转到 Eclipse 安装目录并选择它,但有什么意义呢?只需遵循 bobestm 的建议并断开项目与 git 的连接,CDT 就不会打扰您(我的不会……)
You will not find eGit in the Startup/Shutdown preference anymore. I think what has happened is a much tighter integration of git into the IDE (and not with the CDT). This is a good thing, but I am not sure why you need it disabled.
您将不再在“启动/关闭”首选项中找到 eGit。我认为发生的事情是将 git 更紧密地集成到 IDE(而不是 CDT)中。这是一件好事,但我不确定您为什么需要禁用它。
回答by bobestm
Ok, here's a suggestion. You can disconnect the particular project from Egit by doing the following: Right click on project->Team->Disconnect.
好的,这是一个建议。您可以通过执行以下操作将特定项目与 Egit 断开连接:右键单击项目->团队->断开连接。
When you do wish hookup to the repo again, do right-click on project->Team->Share Project...
当您希望再次连接到存储库时,请右键单击项目-> 团队-> 共享项目...
If you wish to disable the plugin itself, you would have to uninstall it.
如果您想禁用插件本身,则必须卸载它。
回答by KimKha
The plugins are not easy to remove/disable in eclipse. But you can remove jar files of that plugins to remove a plugin.
插件在 eclipse 中不容易删除/禁用。但是您可以删除该插件的 jar 文件以删除插件。
In Linux or Mac, open the Terminal, and cd
to eclipse folder.
在 Linux 或 Mac 中,打开终端,并cd
进入 eclipse 文件夹。
mkdir disabled disabled/features disabled/plugins
mv features/*egit* disabled/features/
mv plugins/*jgit* disabled/plugins/
mv plugins/*egit* disabled/plugins
Read more in http://blog.sarathonline.com/2012/05/eclipse-indigo-without-mylyn.html
在http://blog.sarathonline.com/2012/05/eclipse-indigo-without-mylyn.html 中阅读更多内容