Syntax highlighting and autocompletion for Leaf 3. Still under heavy construction: see repo for issues & current progress. Leaf Kit support coming after syntax is established.
This package provides the following services:
Leaf 3 language support for Atom
Syntax highlighting and autocompletion for Leaf 3.
Installation
Just get Atom, and then:
- either navigate to
Preferences > Install
and search forleaf
. The package is calledlanguage-leaf-atom
, should be the first one in the results... - ...or get it here.
Features
💡 Syntax highlighting
In .leaf
files will highlight Leaf tags, HTML and JS. Works as intended (mostly, still need to handle some edge cases).
💻 Code completion
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! 🥳
Planned
The package is still in development: see the project for current progress. Leaf Kit support coming after syntax is established.
Issues
If you encounter any problems with the package, please make an issue or fork the repo and make a pull request. 🙏!