CoffeeScript TextMate运行命令 [英] CoffeeScript TextMate Run Command

查看:155
本文介绍了CoffeeScript TextMate运行命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以使用TextMate Run命令吗?我不知道如何设置变量及其值在TextMate中为了运行命令+ R和获取CoffeScript文件的结果。非常感谢。

Can anyone assist with the TextMate Run command? I am not sure how to set the variable and its value in the TextMate in order to Run command + R and get the result of CoffeScript file. Many thanks.

推荐答案

按照第一个答案所述安装tmbundle后,在首选项面板中选择高级选项卡在TM_PATH下添加咖啡的路径。要找出路径,请输入:

After you install the tmbundle, as described in the first answer, in Preference Panel, select the Advanced tab and under TM_PATH add the path to coffee. To find out the path, type:

which coffee

如果你使用Homebrew安装,你会得到如下的路径:

If you installed using Homebrew, you'll get something like this for your path:

/usr/bin:/bin:/Users/me/local/node/bin:/usr/sbin:/sbin:/usr/local/bin

/ usr / local / / code>部分是咖啡所在的地方。

The /usr/local/bin part is where coffee is located.

这篇关于CoffeeScript TextMate运行命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆