-
Notifications
You must be signed in to change notification settings - Fork 64
/
CoffeeScript.sublime-settings
108 lines (87 loc) · 2.81 KB
/
CoffeeScript.sublime-settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
/*
The directories you would like to include in $PATH environment variable.
Use this if your node installation is at a seperate location and getting errors such as `cannot find node executable`
example:
"envPATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
*/
"envPATH": "",
/*
The directory containing your coffee binary. Usually
/usr/local/bin or /usr/bin.
*/
"binDir": "/usr/bin",
/*
Compile without the top-level function wrapper (coffee -b).
*/
"noWrapper": true,
/*
Check syntax of your file every time you save a file.
*/
"checkSyntaxOnSave": false,
/*
Lint your code via coffeelint every time you save a file.
*/
"lintOnSave": false,
/*
Path to lint configuration file.
*/
"lintConfFile": false,
/*
Enable or disable refresh the compiled Output on Save.
Only available for watch mode.
*/
"watchOnSave": true,
/*
Enable refreshing compiled JS when CoffeeScript is modified.
Put false to disable
Put a number of seconds to delay the refresh
*/
"watchOnModified": 0.5,
/*
Enable Compiling on save. It will compile into the same folder.
*/
"compileOnSave": false,
/*
## Enable outputting the results of the compiled coffeescript in a panel
*/
"showOutputOnSave": false,
/*
## Enable compiling to a specific directory.
#### Description
if it is a string like 'some/directory' then `-o some/directory` will be added to `coffee` compiler.
if it is false or not string then it will compile your `script.coffee` to the directory it is in.
#### Example:
Directory is relative to the file you are editing if specified such as
compileDir": "out"
Directory is absolute if specified such as
compileDir": "/home/logan/Desktop/out"
*/
"compileDir": false,
/*
## Enable compiling to a specific relative directories.
#### Example:
Set absolute path for compile dir:
"compileDir": "/home/user/projects/js"
And specified folders
"relativeDir": "/home/user/projects/coffee"
"compilePaths":
{
"/home/user/projects/coffee": "/home/user/projects/first/js",
"/home/user/projects/second/coffee": "../js",
}
So
"/home/user/projects/coffee/app.coffee" will compile to "/home/user/projects/first/js/app.js"
"/home/user/projects/coffee/models/prod.coffee" will compile to "/home/user/projects/first/js/models/prod.js"
"/home/user/projects/coffee/second/coffee/app2.coffee" will compile to "/home/user/projects/second/js/app2.js"
"/home/user/projects/main.coffee" will compile to "/home/user/projects/js/main.js"
*/
"compilePaths": false,
/*
## Enable source maps support
CoffeeScript 1.6.1 and above include support for better coffeescript debugging.
Browsers that support it can trace your bugs to your original coffeescript source code,
instead of the javascript that's being evaluated
*/
"sourceMaps":false,
}