Eclipse 不显示“新 PHP 文件”;即使我处于 PHP 视角

发布于 2024-09-11 02:08:27 字数 276 浏览 0 评论 0原文

我在工作和家里使用 eclipse helios PDT 。我注意到在我的家庭安装中,Eclipse 不允许我通过右键单击 PHP 资源管理器中的文件夹来创建新的 PHP 文件。我实际上必须右键单击=>新建,然后选择其他并从显示的对话框中搜索 PHP。但在工作中一切正常,它允许我右键单击=>新建,然后选择 PHP 文件。

我处于 PHP 的角度,并且也尝试过来回切换几次。我还使用 -clean 命令运行它。这不是什么大事,只是有点刺激,但我想知道你们是否知道如何把它拿回来。

有什么想法吗?

I use eclipse helios PDT at work and at home . I noticed that on my home installation, eclipse doesn't let me create a new PHP file by right clicking on a folder in the PHP explorer. I have to actually right click=>New and then select other and search for PHP from the dialogbox that shows up. But at work everything is ok and it allows me to just right click=>New and then select PHP file.

I'm in the PHP perspective and I've tried switching back and forth a couple of times as well. I've also run it with the -clean command. It's not a major deal, just an irritant, but I was wondering whether you guys knew how to get it back.

Any thoughts?

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

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

发布评论

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

评论(1

挽容 2024-09-18 02:08:27

尝试重置 PHP 透视图(Windows → 重置透视图)。这可能会解决问题。控制在每个透视图中创建哪些新文件位于“Windows”→“自定义透视图”下的“快捷方式”选项卡下的“新建”子菜单下。重置视角应该会恢复正常。

如果这不起作用,您可以尝试卸载并重新安装 PDT。

Try resetting the PHP perspective (Windows → Reset Perspective). This might fix the problem. Controlling which new files are created in each perspective is under Windows → Customize Perspective, under Shortcuts Tab, under submenu New. Resetting the perspective should return this back to normal.

If that doesn't work, you might try uninstalling and reinstalling PDT.

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