Eclipse 不显示“新 PHP 文件”;即使我处于 PHP 视角
我在工作和家里使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试重置 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.