An open API service indexing awesome lists of open source software.

https://github.com/stevemcarthur/brackets-eco

Provides ECO template syntax highlighting for the Adobe Brackets IDE
https://github.com/stevemcarthur/brackets-eco

brackets brackets-eco brackets-extension coffeescript coffeescript-highlighter eco eco-highlighter extension highlighter javascript

Last synced: about 2 months ago
JSON representation

Provides ECO template syntax highlighting for the Adobe Brackets IDE

Awesome Lists containing this project

README

          

Brackets-Eco
============

Provides [ECO](https://github.com/sstephenson/eco) template syntax highlighting. Previous version used the existing EJS highlighter as the basis for the ECO highlighter. As of version 1.0 it now uses the embedded HTML highlighter as the basis (recommended for HTML templating languages) with the coffeescript "scriptingModeSpec". So the highlighter now uses a genuine coffeescript highlighter for the template code between the "<% %>".

In order to make the coffeescript highlighter work correctly within the template tags, I needed to include a modified version of the coffeescript highlighter. In particular, this deals with the issue of coffeescript comments within the template tags.

---

"ECO" stands for "Embedded CoffeeScript templates". It's a templating engine that allows you to embed coffescript logic in your markup.

##License
[MIT](http://opensource.org/licenses/MIT)