Coder Social home page Coder Social logo

Comments (8)

 avatar commented on July 21, 2024

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.

aponxi avatar aponxi commented on July 21, 2024

Ok, I'll check it out. Thank you for reporting :)

from sublime-better-coffeescript.

 avatar commented on July 21, 2024

@ 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.

 avatar commented on July 21, 2024

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.

aponxi avatar aponxi commented on July 21, 2024

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.

aponxi avatar aponxi commented on July 21, 2024

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.

idpsycho avatar idpsycho commented on July 21, 2024

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.

idpsycho avatar idpsycho commented on July 21, 2024

Commenting out this line fixed it:

# sublime.error_message(errorFirstLine)

from sublime-better-coffeescript.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.