Skip to content

Commit f7b652f

Browse files
author
deathaxe
committed
Reformat json resources
1 parent 6bb4f55 commit f7b652f

6 files changed

+61
-61
lines changed

CoffeeScript.sublime-build

+9-11
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,16 @@
22
"cmd": ["cake", "sbuild"],
33
"path": "/usr/local/bin:/usr/local/share/npm/bin:$PATH",
44
"selector": "source.coffee",
5-
"working_dir": "$project_path"
6-
7-
,
5+
"working_dir": "$project_path",
86
"windows": {
97
"path": "$PATH",
108
"cmd": ["cake.cmd", "sbuild"]
11-
}
12-
13-
,
14-
"variants": [{
15-
"name": "Run",
16-
"file_regex": "^[ ]*at .*?(/...*?\\.coffee):([0-9]*):.*",
17-
"cmd": ["coffee", "$file"]
18-
}]
9+
},
10+
"variants": [
11+
{
12+
"name": "Run",
13+
"file_regex": "^[ ]*at .*?(/...*?\\.coffee):([0-9]*):.*",
14+
"cmd": ["coffee", "\"$file\""]
15+
}
16+
]
1917
}

CoffeeScript.sublime-settings

+24-17
Original file line numberDiff line numberDiff line change
@@ -8,49 +8,57 @@
88
99
*/
1010
"envPATH": "",
11+
1112
/*
1213
The directory containing your coffee binary. Usually
1314
/usr/local/bin or /usr/bin.
1415
*/
15-
"binDir": "/usr/bin"
16+
"binDir": "/usr/bin",
1617

1718
/*
1819
Compile without the top-level function wrapper (coffee -b).
1920
*/
21+
"noWrapper": true,
2022

21-
, "noWrapper": true
2223
/*
2324
Check syntax of your file every time you save a file.
2425
*/
25-
, "checkSyntaxOnSave": false
26+
"checkSyntaxOnSave": false,
27+
2628
/*
2729
Lint your code via coffeelint every time you save a file.
2830
*/
29-
, "lintOnSave": false
31+
"lintOnSave": false,
32+
3033
/*
3134
Path to lint configuration file.
3235
*/
33-
, "lintConfFile": false
36+
"lintConfFile": false,
37+
3438
/*
3539
Enable or disable refresh the compiled Output on Save.
3640
Only available for watch mode.
3741
*/
38-
, "watchOnSave": true
42+
"watchOnSave": true,
43+
3944
/*
4045
Enable refreshing compiled JS when CoffeeScript is modified.
4146
4247
Put false to disable
4348
Put a number of seconds to delay the refresh
4449
*/
45-
, "watchOnModified": 0.5
50+
"watchOnModified": 0.5,
51+
4652
/*
4753
Enable Compiling on save. It will compile into the same folder.
4854
*/
49-
, "compileOnSave": false
55+
"compileOnSave": false,
56+
5057
/*
5158
## Enable outputting the results of the compiled coffeescript in a panel
5259
*/
53-
, "showOutputOnSave": false
60+
"showOutputOnSave": false,
61+
5462
/*
5563
## Enable compiling to a specific directory.
5664
#### Description
@@ -65,7 +73,8 @@
6573
compileDir": "/home/logan/Desktop/out"
6674
6775
*/
68-
, "compileDir": false
76+
"compileDir": false,
77+
6978
/*
7079
## Enable compiling to a specific relative directories.
7180
@@ -87,15 +96,13 @@
8796
"/home/user/projects/main.coffee" will compile to "/home/user/projects/js/main.js"
8897
8998
*/
90-
, "compilePaths": false
99+
"compilePaths": false,
91100

92101
/*
93102
## Enable source maps support
94-
CoffeeScript 1.6.1 and above include support for better coffeescript debugging.
95-
Browsers that support it can trace your bugs to your original coffeescript source code,
96-
instead of the javascript that's being evaluated
103+
CoffeeScript 1.6.1 and above include support for better coffeescript debugging.
104+
Browsers that support it can trace your bugs to your original coffeescript source code,
105+
instead of the javascript that's being evaluated
97106
*/
98-
, "sourceMaps":false
99-
100-
107+
"sourceMaps":false,
101108
}

Default (Linux).sublime-keymap

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[
2-
{"keys": ["alt+shift+s"], "command": "check_syntax"}
3-
, {"keys": ["alt+shift+r"], "command": "run_script"}
4-
, {"keys": ["alt+shift+t"], "command": "run_cake_task"}
5-
, {"keys": ["alt+shift+c"], "command": "compile"}
6-
, {"keys": ["alt+shift+d"], "command": "compile_and_display", "args": {"opt": "-p"}}
7-
, {"keys": ["alt+shift+l"], "command": "compile_and_display", "args": {"opt": "-t"}}
8-
, {"keys": ["alt+shift+n"], "command": "compile_and_display", "args": {"opt": "-n"}}
9-
, {"keys": ["alt+shift+w"], "command": "toggle_watch"}
10-
, {"keys": ["alt+shift+z"], "command": "toggle_output_panel"}
2+
{"keys": ["alt+shift+s"], "command": "check_syntax"},
3+
{"keys": ["alt+shift+r"], "command": "run_script"},
4+
{"keys": ["alt+shift+t"], "command": "run_cake_task"},
5+
{"keys": ["alt+shift+c"], "command": "compile"},
6+
{"keys": ["alt+shift+d"], "command": "compile_and_display", "args": {"opt": "-p"}},
7+
{"keys": ["alt+shift+l"], "command": "compile_and_display", "args": {"opt": "-t"}},
8+
{"keys": ["alt+shift+n"], "command": "compile_and_display", "args": {"opt": "-n"}},
9+
{"keys": ["alt+shift+w"], "command": "toggle_watch"},
10+
{"keys": ["alt+shift+z"], "command": "toggle_output_panel"}
1111
]

Default (OSX).sublime-keymap

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[
2-
{"keys": ["alt+shift+s"], "command": "check_syntax"}
3-
, {"keys": ["alt+shift+r"], "command": "run_script"}
4-
, {"keys": ["alt+shift+t"], "command": "run_cake_task"}
5-
, {"keys": ["alt+shift+c"], "command": "compile"}
6-
, {"keys": ["alt+shift+d"], "command": "compile_and_display", "args": {"opt": "-p"}}
7-
, {"keys": ["alt+shift+x"], "command": "compile_and_display", "args": {"opt": "-t"}}
8-
, {"keys": ["alt+shift+n"], "command": "compile_and_display", "args": {"opt": "-n"}}
9-
, {"keys": ["alt+shift+w"], "command": "toggle_watch"}
10-
, {"keys": ["alt+shift+z"], "command": "toggle_output_panel"}
2+
{"keys": ["alt+shift+s"], "command": "check_syntax"},
3+
{"keys": ["alt+shift+r"], "command": "run_script"},
4+
{"keys": ["alt+shift+t"], "command": "run_cake_task"},
5+
{"keys": ["alt+shift+c"], "command": "compile"},
6+
{"keys": ["alt+shift+d"], "command": "compile_and_display", "args": {"opt": "-p"}},
7+
{"keys": ["alt+shift+x"], "command": "compile_and_display", "args": {"opt": "-t"}},
8+
{"keys": ["alt+shift+n"], "command": "compile_and_display", "args": {"opt": "-n"}},
9+
{"keys": ["alt+shift+w"], "command": "toggle_watch"},
10+
{"keys": ["alt+shift+z"], "command": "toggle_output_panel"}
1111
]

Default (Windows).sublime-keymap

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[
2-
{"keys": ["alt+shift+s"], "command": "check_syntax"}
3-
, {"keys": ["alt+shift+r"], "command": "run_script"}
4-
, {"keys": ["alt+shift+t"], "command": "run_cake_task"}
5-
, {"keys": ["alt+shift+c"], "command": "compile"}
6-
, {"keys": ["alt+shift+d"], "command": "compile_and_display", "args": {"opt": "-p"}}
7-
, {"keys": ["alt+shift+l"], "command": "compile_and_display", "args": {"opt": "-t"}}
8-
, {"keys": ["alt+shift+n"], "command": "compile_and_display", "args": {"opt": "-n"}}
9-
, {"keys": ["alt+shift+w"], "command": "toggle_watch"}
10-
, {"keys": ["alt+shift+z"], "command": "toggle_output_panel"}
2+
{"keys": ["alt+shift+s"], "command": "check_syntax"},
3+
{"keys": ["alt+shift+r"], "command": "run_script"},
4+
{"keys": ["alt+shift+t"], "command": "run_cake_task"},
5+
{"keys": ["alt+shift+c"], "command": "compile"},
6+
{"keys": ["alt+shift+d"], "command": "compile_and_display", "args": {"opt": "-p"}},
7+
{"keys": ["alt+shift+l"], "command": "compile_and_display", "args": {"opt": "-t"}},
8+
{"keys": ["alt+shift+n"], "command": "compile_and_display", "args": {"opt": "-n"}},
9+
{"keys": ["alt+shift+w"], "command": "toggle_watch"},
10+
{"keys": ["alt+shift+z"], "command": "toggle_output_panel"}
1111
]

Default.sublime-keymap

+1-6
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@
22
{ "keys": ["#"], "command": "insert_snippet", "args": {"contents": "#{${1:$SELECTION}}$0"}, "context":
33
[
44
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
5-
{
6-
"operand": "(string.quoted.double.coffee | string.interpolated.coffee) - string source",
7-
"operator": "equal",
8-
"match_all": true,
9-
"key": "selector"
10-
}
5+
{ "key": "selector", "operand": "(string.quoted.double.coffee | string.interpolated.coffee) - string source", "match_all": true }
116
]
127
}
138
]

0 commit comments

Comments
 (0)