Comments (8)
When I save the file, I see message like this in console:
Writing file /D/ndev/t1/main.coffee with encoding UTF-8
Compiling on save...
But I want to see the compile error in console also.
By the way, the key alt+shift+z (toggle_output_panel) does not work in my pc.
I use SublimeText 2.0.1 in windows 7 64bit.
from sublime-better-coffeescript.
Ok, I'll check it out. Thank you for reporting :)
from sublime-better-coffeescript.
@ aponxi, thanks for reply. This problem is caused by installing from Package Control. I installed via Source Control, and I have seen the compile error in console. But at this time, it only alert me like this:
Writing file /D/ndev/t1/app/config/default.coffee with encoding UTF-8
Compiling on save...
error: File not found: default.coffee
I change the file default.coffee, and there is no error in this file, why it alert me 'File not found'.
from sublime-better-coffeescript.
I have solved this problem by changing line 100 of CoffeeScript.py to :
result = run("coffee", args=args,cwd=os.path.split(self.view.file_name())[0])
from sublime-better-coffeescript.
hmm.. so it needed to go with absolute path in windows? I'll test it out and patch it soon.
#26 is similar to this. I'll make these changes permanent and bump up the version too so that Package Control should recognize it.
(Maybe that's why you had the issue with Package Control? Because I just patched #26 and did not update version.)
from sublime-better-coffeescript.
Using the proper cwd and re-writing the command args for this would fix it.
If someone could post here what the command looks like when you use coffee
that would help a lot.
I don't understand what /D/ndev/t1/app/config/default.coffee
is... Why is there a /D
in front?
from sublime-better-coffeescript.
Now i'm getting the error message twice. And what's even worse, the second one changes focus away from sublime text.
from sublime-better-coffeescript.
Commenting out this line fixed it:
# sublime.error_message(errorFirstLine)
from sublime-better-coffeescript.
Related Issues (20)
- comment on js file HOT 1
- How to pass in custom arguments to coffeescript binary
- Not working on Windows ? HOT 1
- Plugin Not Working HOT 1
- Cake task output
- Execute me, how to write a similar key binding for ES6 ${}
- Separate CSON from CoffeeScript
- Why is so slow the saving with SublimeText3 and Better-coffescript?
- This keeps popping when loading: rule scope:source.rust##anon_struct-tuple_0 has a scope name, but is unreachable HOT 1
- modules - import and export HOT 1
- Ability to use variable path for binDIR and envPATH HOT 2
- # -> #{} Code Snippet Not Limited to CoffeeScript Files
- Would it be possible to properly highlight regex literals?
- Please update for CS v2.0 HOT 3
- NEED NEW MAINTAINER - PLEASE POST HERE HOT 6
- [Feature request] Regular expressions highlights HOT 1
- if "class" appears in coffeescript code, e.g., class_name, subsequent lines are indented
- Nothing matching obj.method 'arg'
- Add support for Sublime Text 4 (build 4121) HOT 1
- Last character missing in auto-suggest in ST4 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sublime-better-coffeescript.