GithubHelp home page GithubHelp logo

pmentz / sublime-coffee-compile Goto Github PK

View Code? Open in Web Editor NEW

This project forked from surjikal/sublime-coffee-compile

0.0 2.0 0.0 152 KB

Preview compiled CoffeeScript in your editor!

Python 100.00%

sublime-coffee-compile's Introduction

Sublime Text 2/3 - Coffee Compile

This package allows you to compile some or all of your CoffeeScript right from the editor. The JavaScript output will even have syntax highlighting!

To install CoffeeCompile, simply use Package Control.

You'll need to setup some paths in the settings file before you can use the plugin. Instructions are included in the settings file, don't worry! The settings file can be accessed through this menu: Sublime Text > Preferences > Package Settings > CoffeeCompile > Settings - User

To use the plugin, highlight your CoffeeScript and hit Ctrl+Shift+C (or Cmd+Shift+C on OSX).
Alternatively, right click and select the Coffee Compile command. To compile the whole file, don't highlight any text.

CoffeeCompile Screenshot

Color Scheme: Made of Code

Common Issues

OSError: [Errno 2] No such file or directory

This is happening because the plugin can't find coffee (or coffee.cmd on Windows). To fix this, go in the settings file and set the coffee_path to the executable's directory.

If you don't know where coffee is, run the following in your terminal: dirname `which coffee`

env: node: No such file or directory

This is happening because coffee can't find your node executable. To fix this, go in the settings file and set the node_path setting to the executable's directory.

If you don't know where node is, run the following in your terminal: dirname `which node`

Install

Package Control

Install the CoffeeCompile package from Package Control.

Manual

Clone this repository from your Sublime packages directory:

Linux

$ cd ~/.config/sublime-text-2/Packages
$ git clone https://github.com/surjikal/sublime-coffee-compile "Coffee Compile"

Macosx

$ cd "~/Library/Application Support/Sublime Text 2/Packages"
$ git clone https://github.com/surjikal/sublime-coffee-compile "Coffee Compile"

Windows (manual install untested)

$ cd "%APPDATA%\Sublime Text 2"
$ git clone https://github.com/surjikal/sublime-coffee-compile "Coffee Compile"

sublime-coffee-compile's People

Contributors

aaronup avatar aziz avatar igoralekseev avatar iristyle avatar nathankot avatar pmentz avatar surjikal avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.