Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to activate syntax highlighting for CoffeeScript in Eclipse?

I'm running an Eclipse Luna. Additionally I installed Nodeclipse.17.plus via the marketplace and checked all provied tools. This also includes the Nodeclipse Coffee-Script viewer:

CoffeeScript Editor let's you edit *.coffee files with some advanced features.

Highlights include

- syntax highlighting
- variable autocompletion in the current namespace
- correct autoindent

Additionally I activated XText Nature for that project.

But there is still no syntax highlighting for *.coffee-files.

Have I done anything wrong? (By the way, the Nodeclipse EditBox is working, but it is not sufficient to make CoffeeScript readable for me)

The Nodeclipse CoffeeScript Viewer seems to be installed: enter image description here

But it does not appear in the List of internal editors: enter image description here

like image 830
Edward Avatar asked Apr 23 '15 08:04

Edward


2 Answers

I'm afraid that there is no satisfactory answer to your question.

On http://marketplace.eclipse.org/content/nodeclipse-coffeescript-viewer-editor-eclipse-431 it says:

There is problem since Eclipse 4.3.1 release https://github.com/Nodeclipse/coffeescript-eclipse/issues/19 Get 4.3.0, e.g. as Enide Studio 0.5.x http://marketplace.eclipse.org/content/enide-studio Help us if you know Eclipse XTEXT.

and

We were looking for new owner familiar with XText technology.

To me it seems, that there are profound problems with this plugin.

I also had the problems with a missing entry in the list of internal editors after installing nodeclipse. I simply removed the plugin and reinstalled it. But than I ran into those XText-problems

enter image description here

and finally gave up,...

like image 186
R_User Avatar answered Nov 13 '22 19:11

R_User


This plugin for Coffeescript in Eclipse is a little buggy but maybe you could try it - https://github.com/adamschmideg/coffeescript-eclipse/

Installation steps are given in the README.

like image 32
boltthrower Avatar answered Nov 13 '22 19:11

boltthrower