ehtml-tools is a simple VSCode extension that provides developer experience tools for EHTML.
Features
- Provides tag autocompletion for EHTML "data-" attributes and "<e-" elements, with no documentation.
Demo
Element and tag autocompletion:
![image](https://github.com/user-attachments/assets/99a58668-f545-4b23-9a30-e3fc1cd5d1bb)
Snippets:
![image](https://github.com/user-attachments/assets/3d77428c-0825-4298-badc-9d9cc9db9fdb)
Planned Features
- Inline documentation for attributes (As soon as an EHTML reference exists)
- Autocompletion for AJAX response actions (MapToTemplate(), showElms(), etc.)
- Syntax highlighting
Contributions
All pull requests and issues in the GitHub repository are welcome!
| |