Aptana 3使用Zend Framework PHTML文件自动完成

时间:2011-11-24 17:30:22

标签: zend-framework autocomplete php aptana3

有没有办法在Aptana 3中使用Zend Framework中的.phtml文件使自动完成功能正常工作,它可以正常使用.php文件而不能使用.phtml吗?

1 个答案:

答案 0 :(得分:1)

您可以添加文件类型并将其与编辑器关联。

Goto Window-> Preferences-> General-> Editor-> File Association。

  1. 在“文件类型”部分中,单击[添加...]并输入* .phtml。
  2. 选择刚刚添加的文件类型。
  3. 在“关联编辑器”部分中,单击[添加...]。选择 PHP源代码编辑器。