Syntax highlighting and autocompletion for Leaf 3.
Just get Atom, and then:
Preferences > Install
and search for leaf
. The package is called language-leaf-atom
, should be the first one in the results...In .leaf
files will highlight Leaf tags, HTML and JS. Works as intended (mostly, still need to handle some edge cases).
In .leaf
files will offer autocompletion for built-in Leaf tags (v.3 supported currently, will add Leaf Kit support after it becomes stable).
Autocompletion should work for both #tag
and tag
variants (i.e., you don't need to type the #
character first). You can tab through the parameters afterwards. Snippets with body (i.e., space between the {
and }
chracters) support tabbing inside it to further speed up the development! 🥳
The package is still in development: see the project for current progress. Leaf Kit support coming after syntax is established.
If you encounter any problems with the package, please make an issue or fork the repo and make a pull request. 🙏!
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.