sublime-js2coffee icon indicating copy to clipboard operation
sublime-js2coffee copied to clipboard

Sublime Text 3 support

Open simonexmachina opened this issue 10 years ago • 14 comments

This package is not listed in Package Control in Sublime Text 3. Is ST3 supported?

simonexmachina avatar Oct 27 '13 22:10 simonexmachina

I'm having issues getting it to work in ST3, and not seeing anything in the Console.

Any chance we could get this rolling for ST3? I love this package.

andrewmartin avatar Oct 30 '13 06:10 andrewmartin

Here's what I'm seeing now in ST3 Console:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 524, in run_
    return self.run(**args)
  File "/Users/andrewmartin/Library/Application Support/Sublime Text 3/Packages/JS2Coffee/JS2Coffee.py", line 13, in run
    output = self.js2coffee(contents)
  File "/Users/andrewmartin/Library/Application Support/Sublime Text 3/Packages/JS2Coffee/JS2Coffee.py", line 40, in js2coffee
    output, error = js2coffee.communicate(contents)
  File "X/subprocess.py", line 906, in communicate
  File "X/subprocess.py", line 1513, in _communicate
  File "X/subprocess.py", line 1608, in _communicate_with_poll
TypeError: 'str' does not support the buffer interface

andrewmartin avatar Oct 30 '13 07:10 andrewmartin

:+1: for this :smile: I keep swapping over to ST2 on a daily basis to do simple things like convert a Gruntfile.js over to Coffee. Would love to have this work in ST3 if possible!

Thanks again for this awesome plugin.

andrewmartin avatar Dec 05 '13 05:12 andrewmartin

+1

noctivityinc avatar Feb 11 '14 17:02 noctivityinc

+1

willhoag avatar Feb 27 '14 20:02 willhoag

+1

miketucker avatar Mar 11 '14 14:03 miketucker

  • 1,000

If my python were up to the challenge, I'd put in the debugging time myself. The plugin is just so damn useful.

mdtjr avatar Jul 12 '14 01:07 mdtjr

+2

liverbool avatar Sep 20 '14 07:09 liverbool

+1

berkaytheunicorn avatar Dec 18 '14 12:12 berkaytheunicorn

+1

CurtisHumphrey avatar Dec 23 '14 03:12 CurtisHumphrey

+1

TangMonk avatar May 15 '15 03:05 TangMonk

+1

tsktsktsky avatar Jun 19 '15 04:06 tsktsktsky

The Sublime Text 3 version of the plugin can be found here

kostasx avatar Mar 01 '16 22:03 kostasx

For the record, to install the plugin @kostasx mentioned,

Command + Shift + P => Add Repository enter the GitHub url... https://github.com/aziz/sublime-js2coffee Then proceed to install it via package control.

BTW, I've made a PR to get this into the main package control repo: https://github.com/wbond/package_control_channel/pull/6041

voltechs avatar Dec 29 '16 21:12 voltechs