15

I have just starting using the nodejs templating engine jade. Unfortunately my IDE eclipse doesn't seem to have support for this syntax and is not highlighting correctly.

Is it possible to add support for .jade files to eclipse?

wilsonpage
  • 17,341
  • 23
  • 103
  • 147
  • Sure, figure out how eclipse does syntax high lighting then add a lex or parsing file to support it. Alternatively use [this netbeans one](https://github.com/lumenlunae/jade-netbeans-syntax-highlighting) or use any vim jade syntax hightlighting plugin of choice. – Raynos Sep 23 '11 at 12:03
  • 2
    How would I go about installing these syntax highlighters in eclipse? – wilsonpage Sep 23 '11 at 15:51
  • you don't. The alternative suggest is use netbeans or vim as your editor/ide – Raynos Sep 23 '11 at 16:59
  • Not quite Jade support but already a promising avenue: http://colorer.sourceforge.net/eclipsecolorer/index.html – w00t Mar 21 '12 at 22:35

3 Answers3

3

As current lead of Nodeclipse effort www.nodeclipse.org I announce that Nodeclipse v0.12 has added Minimalist Jade Editor, see http://www.nodeclipse.org/history. Added just before release as I got sick of .jade to be opened outside of Eclipse.

Nodeclipse scope is growing, now it has Gradle for Android and JavaScript in general that I want to work on for next iteration. Also looking for developers and company willing to support the project. Raise an issue on GitHub/Nodeclipse to continue.

Paul Verest
  • 60,022
  • 51
  • 208
  • 332
  • I believe that Eclipse lacks basic editor functionality, that is coloring all possibly file formats. That done in most text editors. – Paul Verest Jun 06 '14 at 08:40
2

check if this helps

Jade-syntax-highlight

Aayush
  • 183
  • 1
  • 2
  • 8
  • I contacted the author before. He had no plans to continue the project. The next step would be get coloror source into GitHub as I just cannot open the site, see https://github.com/Nodeclipse/nodeclipse-1/issues/140 – Paul Verest Apr 05 '14 at 13:06
0

Follow the pattern used for adding HAML support to an Eclipse install, and find a lexer and colorizer for Jade.

Community
  • 1
  • 1
Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265