ubuntu 下 Sublime text 2 的CoffeeScript 开发环境配置
2012-11-01 16:10
204 查看
参考自:http://soenkerohde.com/2011/11/coffeescript-with-sublime-text/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+soenkerohde+%28S%C3%B6nke+Rohde%29
/article/5649477.html
Here a little tutorial how to setup Sublime to start coding CoffeeScript:
Install CoffeeScript (You need to have node.js and the node package manager installed):
Download and install Sublime Text Editor
Save the CoffeeScript.tmLanguage here: ~/Library/Application Support/Sublime Text 2/Packages/CoffeeScript/
Create the CoffeeScript.sublime-build here: ~/Library/Application Support/Sublime Text 2/Packages/Users with the following content:
Now open Sublime and create a helloWorld.coffee:
CMD-B to execute the script and you should see the output:
/article/5649477.html
Here a little tutorial how to setup Sublime to start coding CoffeeScript:
Install CoffeeScript (You need to have node.js and the node package manager installed):
npm install -g coffee-script
Download and install Sublime Text Editor
Save the CoffeeScript.tmLanguage here: ~/Library/Application Support/Sublime Text 2/Packages/CoffeeScript/
Create the CoffeeScript.sublime-build here: ~/Library/Application Support/Sublime Text 2/Packages/Users with the following content:
{"cmd": ["coffee", "$file"], "selector" : "source.coffee", "path" : "/usr/bin"}
Now open Sublime and create a helloWorld.coffee:
console.log "Hello world"
CMD-B to execute the script and you should see the output:
Hello world [Finished]
相关文章推荐
- ubuntu /elementary os下sublime text3 配置go开发环境
- CoffeeScript的Sublime Text 2开发环境配置
- Linux入门(8)——Ubuntu16.04安装sublime text 3并配置Python开发环境
- 在 Ubuntu 14.04 中配置 Sublime Text 3 的 Golang 开发环境
- ubuntu下配置sublime text 2的g++和python开发环境
- Linux入门(8)——Ubuntu16.04安装sublime text 3并配置Python开发环境
- CoffeeScript的Sublime Text 2开发环境配置
- *在ubuntu上搭建开发环境4---ubuntu简单的搭建LAMP环境和配置
- ubuntu 10.4下ruby 1.9.2+rails 3.0开发环境配置
- linux开发环境搭建-----ubuntu14.04安装 配置FTP SSH NFS 服务
- 小黑小波比.Ubuntu14.04下配置Nginx+php5+Mariadb开发环境
- Ubuntu下配置OpenCV开发环境
- Ubuntu16.04 部署配置GO语言开发环境 & 注意事项
- Ubuntu 配置 Go 语言开发环境(Sublime Text+GoSublime)
- Ubuntu 14.04安装Sublime Text 2并配置python环境
- Ubuntu环境下配置J2EE开发环境jdk+tomcat+mysql+myeclipse
- ubuntu 开发环境的配置 (转)
- Ubuntu下嵌入式Qt开发环境配置全攻略
- Ubuntu下配置Android开发环境jdk+Eclipse+android sdk
- Ubuntu-15.04-64位配置安卓开发环境