我的 Perforce Eclipse 插件只能部分工作

发布于 2024-08-30 16:29:01 字数 192 浏览 5 评论 0原文

我在 Eclipse Ganymede 上安装了 Perforce 插件版本 3.4,配置了我的连接和工作区。我的强制观点效果很好。但是,当我在 Java 视角下工作时,右键单击项目资源管理器中的任何文件,“团队”上下文菜单不会显示用于签出、同步等的 perforce 选项。它只有“应用补丁”选项”和“显示当地历史”。

这真是超级烦人啊!帮忙,有人吗?

I installed Perforce plugin version 3.4 on Eclipse Ganymede, configured my connection and workspace. My perforce perspective works just fine. However, when I work in the Java perspective, and I right-click any file in the project explorer, the "Team" context menu does not display the perforce options to check-out, sync etc. It only has the options "Apply patch" and "Show local history".

This is super-annoying! Help, anyone?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

忆离笙 2024-09-06 16:29:01

您是否右键单击了该项目并完成了 Team ->分享项目-> Perforce(连接信息?)

此外,如果连接信息错误,那么在插件的某些版本中它不会抱怨。它只是默默地不向您显示任何选项。对此进行良好检查将打开 Eclipse 内的 P4 Depot 视图(窗口 -> 显示视图 -> P4 连接)

Have you right clicked on the project and done Team -> share Project -> Perforce (connection information?)

Also if the connection information was wrong, then in some versions of the plugin it does not complain. It just silently does not show you any options. A good check for this would to open the P4 Depot view inside the eclipse (Window -> Show View -> P4 connections)

够运 2024-09-06 16:29:01

检查 Java 透视图自定义(来自 窗口菜单):

alt text

alt text

并查看是否有任何与“Perforce”相关的命令可供您激活。

(参见 配置透视命令组

您可以选择透视图中可用的命令组
命令组提供菜单项、工具栏按钮和键绑定,所有这些都运行命令。
使命令组在透视图中不可用会删除这些运行命令的方法。
使命令组可用可以使用这些方法,但是可以通过“自定义透视”对话框的“菜单可见性”和“工具栏可见性”选项卡进行更细粒度的控制来打开和关闭它们

Check the Java Perspective customization (from the Window menu):

alt text

alt text

And see if there are any "Perforce"-related commands for you to activate.

(cf. the Configuring perspective command groups)

You can choose which command groups are available in a perspective.
Command groups contribute menu items, toolbar buttons and key bindings, all of which run commands.
Making a command group unavailable in a perspective removes these methods of running commands.
Making a command group available makes it possible for these methods to be used, however they can be turned on and off with more fine-grained control via the Menu Visibility and Tool Bar Visibility tabs of the Customize Perspective dialog

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文