dongshang1934 2009-05-01 14:40
浏览 29
已采纳

如何在CakePHP的编辑器中获取HTML语法高亮?

I use Notepad++ and Aptana for editing my CakePHP code? Is there any way to get basic html syntax highlighting for CakePHP's .ctp template files? It's a lot harder for me without any coloring going on. Any ideas?

  • 写回答

4条回答 默认 最新

  • drv16821 2009-05-01 15:14
    关注

    Configuring in Aptana Editor

    Quoted from aptana docs

    1. From the Window menu, select Preferences..., and then choose General > Editors > File Associations.
    2. Add the appropriate file type.
    3. Next to the File Types list, click the Add button.
    4. In the New File Type pop-up window, type the appropriate file extension (e.g. ".ctp" or ".thtml").
    5. Click OK to add the New File Type to the List.
    6. Associate the new file type with Aptana.
    7. On the File Types list, select the file type that you just added.
    8. Next to the Editor Associations list, click the Add button.
    9. On the Editor Selection pop-up window, select the editor that you want to associate with your file type.
    10. Click OK to add the editor.
    11. The new is now associated with the specified file type.
    12. Click OK to apply your changes and close the Preferences window.

    Check out this link

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?

悬赏问题

  • ¥20 求计算赫斯特(Hurst)指数
  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突
  • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大