如何在 Eclipse 中激活 CoffeeScript 的语法高亮?

How to activate syntax highlighting for CoffeeScript in Eclipse?

我是 运行 Eclipse Luna。此外,我通过市场安装了 Nodeclipse.17.plus 并检查了所有提供的工具。这也包括 Nodeclipse Coffee-Script 查看器:

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

Highlights include

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

此外,我还为该项目激活了 XText Nature

但是*.coffee-文件仍然没有语法高亮。

我做错了什么吗? (顺便说一句,Nodeclipse EditBox 可以正常工作,但它不足以使 CoffeeScript 对我来说可读)

似乎安装了 Nodeclipse CoffeeScript 查看器:

但它没有出现在内部编辑列表中:

这个 Eclipse 中的 Coffeescript 插件有点问题,但也许你可以试试 - https://github.com/adamschmideg/coffeescript-eclipse/

README 中给出了安装步骤。

试试这个
1.Open "Window" -> "Preferences" -> 展开 "General" 和 "Editors" -> 单击 "File Associations" -> "File types:"。如果没有出现,请将“.coffee”添加到列表中。
2.Look 在 "File Associations" 对话框中 "Associated editors:" 然后点击 "Add"
3.Select"Internal editors"
4.Select "Coffee-Script Viewer"。点击 "OK" 然后 "OK"

Eclipse Pluging For Coffee Script

恐怕您的问题没有满意的答案。

http://marketplace.eclipse.org/content/nodeclipse-coffeescript-viewer-editor-eclipse-431 上说:

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.

We were looking for new owner familiar with XText technology.

在我看来,这个插件存在严重的问题。

安装 nodeclipse 后,我还遇到了内部编辑器列表中缺少条目的问题。我只是删除了插件并重新安装了它。但是比起我 运行 那些 XText 问题

最后放弃了,...