This is greatly inspired by @surjikal's Coffee Compile and my own Roy Compile
- Syntax highlighting
- Transpilation to js
- Snippets
Compile the entire file by not selecting any text (or all the text).
Compile a section by selecting just that section.
Keyboard shortcut Alt-Shift-L
Command Palette integration Live Script
Context menu right click
This is not the livescript package currently in package control.
To install this package
- Add this repository using the command
Package Control: Add Repository
- Paste this url into sublime:
https://github.com/joneshf/sublime-livescript
- Install the package like normal (
Package Control: Install Package
->sublime-livescript
)
Clone this repository from your Sublime packages directory:
$ cd ~/.config/sublime-text-2/Packages
$ git clone https://github.com/joneshf/sublime-livescript
$ cd "~/Library/Application Support/Sublime Text 2/Packages"
$ git clone https://github.com/joneshf/sublime-livescript
$ cd "%APPDATA%\Sublime Text 2\Packages"
$ git clone https://github.com/joneshf/sublime-livescript
Pretty much anything goes with a few exceptions.
- Additions must be directly related to the LiveScript language.
- Snippet files MUST use tabs. This is to ensure uniform snippet insertion.