Thanks to visit codestin.com
Credit goes to github.com

Skip to content

yapl-language/yapl-vscode

Repository files navigation

YAPL YAPL for VS Code

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

GitHub Actions Workflow Status Visual Studio Marketplace Last Updated Visual Studio Marketplace Version Open VSX Version License: MIT Discord

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

YAPL in VS Code

🔧 Development

To contribute to this extension:

  1. Clone the repository
  2. Open in VS Code
  3. Press F5 to launch Extension Development Host
  4. 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

About

VS Code extension for YAPL language

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •