YAPL for VS Code
Official VS Code extension for YAPL (Yet Another Prompt Language) — a tiny, composable prompt templating language designed for AI agents.

Quick links: Website · VS Marketplace · Open VSX (VSCodium) · Discord
✨ Features
- Rich TextMate-based syntax highlighting for:
*.md.yapl
— Markdown templates
*.json.yapl
— JSON templates
*.yaml.yapl
/ *.yml.yapl
— YAML templates
*.txt.yapl
— Plain text templates
- Custom file icons for all
.yapl
files (enable the "YAPL File Icons" theme)
- Basic code folding via brackets/indentation (provided by language configuration)
🚀 Installation
Install from the marketplaces:
Command line:
# VS Code (from VS Marketplace)
code --install-extension EinfachAI.yapl
# VSCodium (from Open VSX)
codium --install-extension EinfachAI.yapl
📝 Usage
Create a new file with a .yapl
extension and start writing YAPL templates:
{# hello.md.yapl #}
{% block system %}
You are a helpful AI assistant.
{% endblock %}
{% block prompt %}
Hello {{ name | default("there") }}!
How can I help you with {{ topic }}?
{% endblock %}
🖼️ Screenshots

🔧 Development
To contribute to this extension:
- Clone the repository
- Open in VS Code
- Press F5 to launch Extension Development Host
- Test with files in the
samples/
directory
Building
# Install dependencies
npm install
# Package extension
npm install -g vsce
vsce package
📚 YAPL Resources
🤝 Contributing
Contributions are welcome! Feel free to:
- Report bugs and issues
- Suggest new features
- Submit pull requests
- Improve documentation
📄 License
This project is licensed under the MIT License.
🐛 Issues & Support
Made with 💖 for the YAPL community