Integrating CoffeeScript with Eclipse?

前端 未结 3 1419
夕颜
夕颜 2021-01-30 22:17

Is there a way to integrate CoffeeScript and Eclipse, so that when I write CoffeeScript in one window the other will show the compiled code as Javascript?

I\'ll wait for

3条回答
  •  难免孤独
    2021-01-30 22:56

    I'm using coffees -w option for this. Open a terminal, cd to your project directory and then run coffee -w ./coffee -c ./js. Assuming that your coffee files are stored in a folder named coffee and you are compiling your files to a folder named js.

    Keep the terminal open while your coding session. coffee will compile your script every time you resave the file.

提交回复
热议问题