Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge with "official" CoffeeScript Text Editor Plugin? #31

Open
jashkenas opened this issue Jan 5, 2013 · 3 comments
Open

Merge with "official" CoffeeScript Text Editor Plugin? #31

jashkenas opened this issue Jan 5, 2013 · 3 comments

Comments

@jashkenas
Copy link

Hey Joe.

I switched over to Sublime a few months back, and have been greatly enjoying your CoffeeScript bundle -- fun stuff.

Over the last few days, I've been hacking on it a bit in an effort to get it to recognize the newly-merged "literate" CoffeeScript style. I was wondering if you'd like me to start maintaining the plugin officially, and publishing updates alongside the Textmate bundle ... or if you'd prefer me to send you a pull request here.

Whatever works best.

@Xavura
Copy link
Collaborator

Xavura commented Jan 8, 2013

Hey Jeremy.

As much as I would love to work on this plugin... honestly I've just been suffering from burn out for quite a long time now, so perhaps it's better that I pass it on to someone else. I think the plugin deserves more and so I think it would probably be better if you maintained it.

For the moment though can you send a pull request? I'd like to see if I can get back into the swing of things. I had a few ideas in mind (like the watch mode stuff) which I actually had implemented locally a long time ago.

Thank you for creating CoffeeScript anyway!

@aponxi
Copy link

aponxi commented Jan 20, 2013

@Xavura I would love to continue the project, I have already branched myself out and added your brilliant idea of making a watch mode. If you think you would like to transfer the project let me know :) here is my repo

@davew252
Copy link

OK, so... who's it gonna be, guys? Who am I goin' home with tonite?
CS v1.6.1 is broken. See jashkenas/coffeescript#2828
Here is my workaround:
In C:/Users/Dave/AppData/Roaming/Sublime Text 2/Packages/CoffeeScript/CoffeeScript.py

Old code: Line 69...

args = ['-c', self.view.file_name()]
if no_wrapper:
    args = ['-b'] + args
print "In CompileCommand > args => " + str(args)
result = run("coffee", args=args)

New code:

filename = path.basename(self.view.file_name())
dirname = path.dirname(self.view.file_name())
args = ['-c', filename]
if no_wrapper:
    args = ['-b'] + args
print "In CompileCommand > args => " + str(args)
result = run("coffee", args=args, cwd = dirname)

I'm not a GitHub-ista. Yet. But if you guys figure out who's gonna be the official repo/maintainer, I can fork and do a pull request.
Let me know...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants