开发者

Is there a mustache template syntax highlighter or plugin for Eclipse?

I'm looking for a Mustache template syntax highlighter / plugin in Eclipse

Does one exist? I don't seem to be finding anything on google, and I don't know how to write my own for Eclipse.开发者_开发知识库


Although not perfect, you can use Eclipse and set MUSTACHE template files to HTML.

  1. Go to Eclipse->Preferences->General->Content_Types
  2. Edit CONTENT_TYPE to add a file association of .mustache
  3. Go to Eclipse->Preferences->General->Editor->File_Associations
  4. You should see the default HTML editors already set. If not, add a .mustache editor of your choice. I used HTML_EDITOR.

Although it won't syntax highlight the {{ }}, it's still easier to read.


There doesn't seem to be any plugin for supporting mustache Editors and views (see Eclipse MarketPlace).

That leaves only for now using an external supported editor (i.e. outside of Eclipse)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜