-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathCoffeeCompile.sublime-settings
105 lines (93 loc) · 2.82 KB
/
CoffeeCompile.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
{
/**
* REQUIRED
*
* The type of compiler you want to use. The `executable` compiler is
* the recommended choice.
*
* Choices are:
*
* 1. vanilla-executable (default)
*
* Use your `coffee` executable. If this option is selected, you must
* set the `coffee_path` setting.
*
*
* 2. vanilla-module
*
* This will the `coffee-script` NodeJS module. Node will try to find
* the module based on the working directory of the file you're editing.
*
*/
"compiler": "vanilla-executable"
/**
* REQUIRED
*
* Where your `node` executable lives. If this is not specified, then
* it is expected to be on Sublime's path.
*
* On OSX, for example:
* `/usr/local/bin`
*/
, "node_path": ""
/**
* REQUIRED ONLY IF USING `executable` COMPILER
*
* Where your `coffee` executable lives.
*
* On OSX, for example:
* `/usr/local/share/npm/lib/node_modules/coffee-script/bin`
*/
, "coffee_path": ""
/**
* How should the plugin invoke your coffee executable.
*
* This can be the name of the executable if its in your path,
* or it can be the absolute path to it (although in that case,
* try to use the `coffee_path` setting).
*
* You can find where your executable is by running "which coffee"
* in your terminal.
*
* Defaults:
* Windows -> 'coffee.cmd'
* Linux/OSX -> 'coffee'
*/
, "coffee_executable": ""
/**
* Compile without a top-level function wrapper.
*
* Defaults to `false`.
*/
, "bare": true
/**
* Show the CoffeeCompile right+click menu option for files of
* these types.
*
* If the list is empty, the menu option will always be shown.
*
*
* If you want to figure out the path to syntax file for a certain
* filetype, do the following:
*
* 1. Open a new file.
* 2. Hit `ctrl/cmd + shift + P` and set the syntax you want.
* 3. Open the sublime console by pressing `ctrl/cmd + ~`.
* 4. Execute `view.settings().get('syntax')` and copy paste the
* output here.
*
*/
, "syntax_patterns": [
"Packages/CoffeeScript/CoffeeScript.tmLanguage"
, "Packages/CoffeeScript/Syntaxes/CoffeeScript.tmLanguage"
, "Packages/Better CoffeeScript/CoffeeScript.tmLanguage"
, "Packages/Better CoffeeScript/CoffeeScript_Literate.tmLanguage"
, "Packages/Text/Plain text.tmLanguage"
]
/**
* Path to the file used for syntax highlighting the compiled output pane.
*
* e.g. "Packages/Better JavaScript/JavaScript.tmLanguage" if you use Better JavaScript
*/
, "syntax_file_js": "Packages/JavaScript/JavaScript.tmLanguage"
}