greplytix / Hamlbars

Sublime Text 3 Syntax highlighting for .hamlbars files which is a combination of both Haml and Handlebars
MIT License
2 stars 0 forks source link

What existing works are there #3

Closed anthonykulis closed 9 years ago

anthonykulis commented 10 years ago

Just curious to see what open source plugins exist related to this topic. This includes variants that do not solve our problem but may provide insights to solving it, e.g., a handlebars plugin. Compile a list with pros and cons about plugins. Remember, we can leverage other open source plugins to minimize our future work, so make sure to read their source. Is it set up such a way that if we were to leverage their plugin? If so, how, if not, and it is a good plugin, what work would it take to port it over? These are things I seek.

ghost commented 9 years ago

Open Source Plugins Mentioned in #9

AAAPackageDev

AAAPackageDev is a Sublime Text 2 and 3 plugin that helps create and edit syntax definitions, snippets, completions files, build systems and other Sublime Text extensions.

Pros

Cons

Other Thoughts

By default, AAAPackageManager transcompiles YAML to Plist. This is because Sublime Text is dependent on Plist files for its syntax definitions, and the developers didn't like working with Plist. So, if we want to use YAML, this is a pro. If we want to use something else, it's a con and may result in some "hackery," as they say. I will look into reconciling another transcompilation pathway if there is strong opposition to YAML.

Aroma

Command line utility to compile CoffeeScript objects into property list files.

Pros

Cons

Other Thoughts

It's not really a plugin so much as it is a helper command line tool. It's dependent on Node.js.

ScopeHunter

This is a simple plugin get [sic] the scope under the cursor(s) in Sublime Text. This is useful for plugin development.

Pros

Cons

BracketHighlighter

Bracket Highlighter matches a variety of brackets such as: [], (), {}, "", '', , and even custom brackets.

I'll leave this one up to @abandimh01 since he's been assigned #11. I believe this package has major implications for Handlebars in Sublime Text, but I haven't researched it in breadth or depth.

Final Notes

I'm curious to see what the others will bring to this discussion. If any of the above mentioned plugins (or tools) sound at all viable, I'll get my hands dirty with them, and we'll find out just how viable they are in practice.

anthonykulis commented 9 years ago

By pros/cons, if the similar work deals say in hamlbars, what works, what doesn't, can ours be a better version. Means you will have to use these in the evaluation.

ghost commented 9 years ago

[DOCUMENTATION]

Similar Work to Hamlbars

Handlebars as Introduced in #11

Pros

Cons

Conclusion

Ultimately, if we can leverage this project like I mentioned in the pros, then we could get away with writing exceptionally little code, and just glue code at that, for Hamlbars.