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.
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报