dourun2990 2012-10-02 15:14 采纳率: 100%
浏览 58
已采纳

如何从sublime文本2中运行php项目

Is there a way to set up sublime text 2 to build (or run) a php script I'm editing?

  • 写回答

2条回答 默认 最新

  • duanba2001 2012-10-02 15:36
    关注

    You can do Tools -> Build System -> New Build System... and then edit the file like so:

    {
        "cmd": ["/path/to/some/script/that/runs/your/project"]
    }
    

    Then save it, and from your project, select Tools -> Build System -> <your new name>

    Now you can hit control-shift-b to run the script.

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

报告相同问题?