ModJS - JavaScript Workflow Tooling
Mod for Sublime Text
Details
Installs
- Total 551
- Win 331
- Mac 151
- Linux 69
Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | Jun 22 | Jun 21 | Jun 20 | Jun 19 | Jun 18 | Jun 17 | Jun 16 | Jun 15 | Jun 14 | Jun 13 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
sublime-mod
Mod for Sublime Text
Getting Started
Install package control
First, install Package Control for Sublime Text 2: * Sublime Package Control: this is the easiest way to install this package * After installing Package Control, restart Sublime Text.
Install sublime-mod
Option #1: Install module using package control
- Now inside Sublime Text open the Command Palette (
command+shift+p
on OS X, orctrl+shift+p
on Linux/Windows). - Select “Package Control: Install Package”, after a few seconds a list will appear. Search for
sublime-mod
and click to install.
Option #2: Install module directly
If you weren't able to find the package on Package Control, go to your Sublime Text Packages
directory, located here:
* OS X: ~/Library/Application Support/Sublime Text 2/Packages/
* Linux: ~/.Sublime Text 2/Packages/
* Windows: %APPDATA%/Sublime Text 2/Packages/
Add the sublime-mod
module:
Without Git: Download the latest source zip from github and extract the files into a new folder inside your Sublime Text “Packages” directory.
With Git: Clone the repository in your Sublime Text “Packages” directory:
git clone git://github.com/yuanyan/sublime-mod.git
Modfile
Add a Modfile to in your project root.
Build System > Mod
- In Sublime Text 2, go to
Tools > Build System
, and selectMod
as your build system - To build:
ctrl + b
on Linux/Windows orcommand + b
on OS X
build-on-save
To enable build-on-save
, you first have to save your project in Sublime Text by going to Project > Save Project As
. Then go to your project folder and settings
line from the example below to your myProject.sublime-project
file.
For each project that you want to take advantage of this feature, you will have to modify the the
.sublime-project
file.
Build Settings
In your project folder
{
"folders":
[
{ "path": "/C/path-to-your-project-here" }
],
"settings": { "build_on_save": 1 }
}
To build on save, keep the value at 1
. To disable build on save, change the value to 0
.
A build-on-save word of caution
Running
mod
every time you hitctrl + s
will be a great productivity booster when used wisely. But if you have lots of processor-intensive tasks that take more than a few seconds to run, this feature might get annoying pretty fast.