phtml 文件中的内容辅助在 eclipse helios pdt 中不起作用
我在 Eclipse Helios 中的 html 属性内容辅助方面遇到问题。
当我执行类似操作
<div style="|"></div>
并按 ctrl+space 时,通常会出现样式属性的内容辅助。这对于 *.html 和 *.shtml 文件效果很好。 但是,一旦我将文件重命名为 phtml,内容辅助就会失败,并表示无法完成。 有人遇到同样的麻烦并解决了吗?
我真的不知道这是 eclipse 还是 pdt 或者什么问题,但这真的很烦人。
I got a problem with my content assist of html attributes in Eclipse Helios.
When I do something like
<div style="|"></div>
and hit ctrl+space, normally the content assist for the style attribute appears. This works fine for *.html and *.shtml files.
But as soon as I rename the file to phtml, the content assist just fails and says no completion available.
Anybody got the same trouble and solved it?
I don't really know if this is an eclipse or pdt or whatever problem, but its really annoying.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当我将 Galileo 工作区与 Helios 一起使用时,我遇到了同样的问题。
我通过删除以下文件解决了 PDT 自动完成问题:
并重新启动 helios。
我在 zend 论坛 上找到了解决方案。
I faced the same problem when I used a Galileo workspace with Helios.
I solved the PDT autocomplete issue by deleting the following file:
And restart helios.
I found the solution on the zend forum.
这是 Helios 当前 PDT 版本中的一个错误。
It's a bug in current PDT Release in Helios.