Skip to content

Commit 38069ff

Browse files
author
Logan Howlett
committed
Merge branch 'release/0.6.32'
2 parents a885a46 + 8434bc4 commit 38069ff

File tree

4 files changed

+32
-9
lines changed

4 files changed

+32
-9
lines changed

CoffeeScript.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#aponxi v0.6.0
1+
#aponxi v0.6
22
import sublime
33
import sys
44
from os import path
@@ -102,10 +102,16 @@ def run(self, *args, **kwargs):
102102
if result['okay'] is True:
103103
status = 'Compilation Succeeded'
104104
else:
105-
status = 'Compilation Failed'
105+
errorFirstLine = result['err'].splitlines()[0]
106+
status = 'Compilation FAILED '+errorFirstLine
107+
sublime.error_message(errorFirstLine)
106108

107109
sublime.status_message(status)
108110

111+
# leave 'save message' visible for 300ms
112+
later = lambda: sublime.status_message(status);
113+
sublime.set_timeout(later, 300)
114+
109115

110116
class CompileAndDisplayCommand(TextCommand):
111117
def is_enabled(self):

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,14 @@
4343

4444
## Description
4545

46-
CoffeeScript plugin was originally created by Xavura. As I began writing a lot of code in CoffeeScript I felt the need for side-by-side view for compiled CoffeeScript. Since Xavura's repo have been inactive I decided to branch out my own version. The biggest change in my branch is the Watch Mode which updates the compiled JavaScript view whenever you modify the CoffeeScript thus enabling you to view your progress side-by-side.
46+
CoffeeScript plugin was originally created by @Xavura. As I began writing a lot of code in CoffeeScript I felt the need for side-by-side view for compiled CoffeeScript. Since Xavura's repo have been inactive I decided to branch out my own version. The biggest change in my branch is the Watch Mode which updates the compiled JavaScript view whenever you modify the CoffeeScript thus enabling you to view your progress side-by-side.
4747

4848
I use this plugin everyday so whenever I am not developing I am in testing stage. I'll make sure every request or bug will be patched since I'm a frequent user.
4949

5050
## Contributing
5151

5252
- Please use [aponxi/issues page](https://github.com/aponxi/sublime-better-coffeescript/issues) to make requests or report bugs.
53+
- Please make _pull requests_ to develop branch.
5354
- It would be best to keep the wiki on [SublimeText repository's wiki](https://github.com/SublimeText/sublime-better-coffeescript/wiki).
5455

5556
# Installation
@@ -257,6 +258,14 @@ Go to `Preferences > Package Settings > CoffeeScript > Settings - User` to chang
257258
```
258259
# Latest Changelog
259260

261+
### v0.6.32 02/Feb/2013
262+
* with help of @idpsycho fixed #14 once more.
263+
* added alert message on compile failed which also works with compile on save
264+
265+
### v0.6.31 25/Jan/2013
266+
267+
* hotfixed default compile dir to be `false`
268+
260269
### v0.6.3 25/Jan/2013
261270
* added compileDir option which specifies `coffee -o` arg when compiling.
262271
* Fixed settings file name. It was Coffeescript when it should have been CoffeeScript. Fixes #19

changelogs/0.6.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,27 @@
1-
# v0.6.3 25/Jan/2013
1+
### v0.6.32 02/Feb/2013
2+
* with help of @idpsycho fixed #14 once more.
3+
* added alert message on compile failed which also works with compile on save
4+
5+
### v0.6.31 25/Jan/2013
6+
7+
* hotfixed default compile dir to be `false`
8+
9+
### v0.6.3 25/Jan/2013
210
* added compileDir option which specifies `coffee -o` arg when compiling.
311
* Fixed settings file name. It was Coffeescript when it should have been CoffeeScript. Fixes #19
412
* compileDir path works only if it exists.
513
* now also works if it doesn't exist.
614
* changed default compileDir option to false thus compiling a coffee script to the same directory as default.
715

8-
# v0.6.2 16/Jan/2013
16+
### v0.6.2 16/Jan/2013
917
- Updated package.json, bumped up version.
1018

11-
# v0.6.1 16/Jan/2013
19+
### v0.6.1 16/Jan/2013
1220
- Added utf-8 encode/decode to prevent unicode decode errors, fixed #17
1321
- Corrected years in 0.6 changelog... Should get used to it by now.
1422
- Added error output in panel which fixes #16
1523

16-
# v0.6 Changelog - 16/Jan/2013
24+
### v0.6 Changelog - 16/Jan/2013
1725

1826
- Changed menu name to "Better Coffeescript"
1927
- Changed menu arguments to be directed to `sublime-better-coffeescript` folders, settings files are still kept as `Coffeescript.sublime-settings`

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
"description": "Syntax highlighting and checking, commands, shortcuts, snippets, watched compilation and more.",
77
"author": "aponxi",
88
"homepage": "https://github.com/aponxi/sublime-better-coffeescript",
9-
"last_modified": "2013-01-26 20:39:00",
9+
"last_modified": "2013-02-02 19:10:00",
1010
"platforms": {
1111
"*": [
1212
{
13-
"version": "0.6.31",
13+
"version": "0.6.32",
1414
"url": "https://github.com/aponxi/sublime-better-coffeescript/archive/master.zip"
1515
}
1616
]

0 commit comments

Comments
 (0)