You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Alt-shift-D doesn't work for .litcoffee or .coffee.md #190
Alt-shift-d (compile and display) works fine on plain old .coffee files, but doesn't display the transpiled .js for literate coffeescript. Literate coffee script (.litcoffee and .coffee.md) files seem to compile and run just fine. Am I doing something wrong?
BTW - excellent plugin. Alt-shift-D is a fantastic productivity boost.
(Using better coffee script in Sublime Text 2 on osX 10.9.5.)
Tabs are set to 2, and I start all code with double tabs, so 4 spaces minimum for all code.
View -> Indentation -> "Indent using Spaces" is checked.
Have run "convert indentation to spaces" on all files.
View -> Syntax -> Better Coffeescript checked on "CoffeeScript (Literate)"
Files are all *.litcoffee
Alt-shift-D used to open up a new unsaved window with the Javascript. Is that what it is supposed to do with .litcoffee? In other words, am I looking for the wrong thing?
Traceback (most recent call last):
File "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/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 550, in run_
return self.run(edit, **args)
File "CoffeeScript in /Users/.../Better CoffeeScript.sublime-package", line 217, in run
File "CoffeeScript in /Users/.../Better CoffeeScript.sublime-package", line 88, in brew
File "CoffeeScript in /Users/.../Better CoffeeScript.sublime-package", line 43, in run
File "CoffeeScript in /Users/.../Better CoffeeScript.sublime-package", line 74, in _run
File "./subprocess.py", line 824, in __init__
File "./subprocess.py", line 1448, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: 'coffee'
in simple test project with almost exact same setup as @tdsfugal except I'm using Sublime Text 3.
Hi @iainhouston, do you have coffeescript installed and have its install location set in the binDir? If you follow the steps in the FAQ, this may help to diagnose or resolve the issue
Activity
markalfred commentedon Oct 11, 2014
Can you confirm that your code is indented 4 spaces, and that the Syntax for the litcoffee file is "CoffeScript (Literate)"?
tdsfugal commentedon Nov 1, 2014
Yes on both counts.
Alt-shift-D used to open up a new unsaved window with the Javascript. Is that what it is supposed to do with .litcoffee? In other words, am I looking for the wrong thing?
markalfred commentedon Dec 4, 2014
From the sound of it, what you have should give you what you're looking for. Do you see any errors or output in your console when you hit alt+shift+d?
iainhouston commentedon May 19, 2015
Picking this thread up again:
in simple test project with almost exact same setup as @tdsfugal except I'm using Sublime Text 3.
markalfred commentedon May 19, 2015
Hi @iainhouston, do you have coffeescript installed and have its install location set in the
binDir? If you follow the steps in the FAQ, this may help to diagnose or resolve the issueiainhouston commentedon May 19, 2015
Yes, it was the
binDirsetting. I didn't scroll far enough down the README. Please accept my apologies and my thanks for your patient reply. .markalfred commentedon May 19, 2015
Happy to help, @iainhouston! Happy coding! 🍻