问题
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?
回答1:
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.
- #134 - Minimalist Jade Editor idea is to define HTML tags and JavaScript keywords as words for highlight in Word.java and then use it together with EditBox
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.
回答2:
check if this helps
Jade-syntax-highlight
回答3:
Follow the pattern used for adding HAML support to an Eclipse install, and find a lexer and colorizer for Jade.
来源:https://stackoverflow.com/questions/7528252/jade-templating-syntax-support-for-eclipse