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条)

报告相同问题?

悬赏问题

  • ¥15 GD32 SPI通信时我从机原样返回收到的数据怎么弄?
  • ¥15 phython读取excel表格报错 ^7个 SyntaxError: invalid syntax 语句报错
  • ¥20 @microsoft/fetch-event-source 流式响应问题
  • ¥15 ogg dd trandata 报错
  • ¥15 高缺失率数据如何选择填充方式
  • ¥50 potsgresql15备份问题
  • ¥15 Mac系统vs code使用phpstudy如何配置debug来调试php
  • ¥15 目前主流的音乐软件,像网易云音乐,QQ音乐他们的前端和后台部分是用的什么技术实现的?求解!
  • ¥60 pb数据库修改与连接
  • ¥15 spss统计中二分类变量和有序变量的相关性分析可以用kendall相关分析吗?