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
- 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
.yaplfiles (enable the "YAPL File Icons" theme) - Basic code folding via brackets/indentation (provided by language configuration)
Install from the marketplaces:
Command line:
# VS Code (from VS Marketplace)
code --install-extension EinfachAI.yapl
# VSCodium (from Open VSX)
codium --install-extension EinfachAI.yaplCreate 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 %}
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
# Install dependencies
npm install
# Package extension
npm install -g vsce
vsce packageContributions are welcome! Feel free to:
- Report bugs and issues
- Suggest new features
- Submit pull requests
- Improve documentation
This project is licensed under the MIT License.
Made with 💖 for the YAPL community