An open API service indexing awesome lists of open source software.

https://github.com/dmitrymomot/zed-jet-support


https://github.com/dmitrymomot/zed-jet-support

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Jet Template Support for Zed.Dev

This extension adds syntax highlighting support for Jet templates in the Zed.Dev IDE.

## Features

- Syntax highlighting for Jet template syntax
- Support for Jet expressions, statements, and comments
- Compatibility with .jet and .html.jet file extensions
- Highlighting in HTML files containing Jet syntax
- Support for template inheritance (extends, blocks)
- Built-in function highlighting

## Installation

Install through the Zed.Dev extension marketplace:

1. Open Zed.Dev IDE
2. Navigate to Extensions
3. Search for "Jet Template Support"
4. Select and install the extension

## Usage

The extension activates automatically for supported file types. No additional configuration is required.

## Syntax Features

The extension provides highlighting for:

- Control structures (if/else, range, try/catch)
- Template blocks and inheritance (block, yield, content)
- Built-in functions (len, isset, exec, etc.)
- String operations and arithmetic
- Comments using {\* \*} syntax
- HTML content within templates

## Compatibility

This extension is useful for projects using Jet templates, including:

- Go web applications
- Projects using CloudyKit/jet templating engine
- Any Go project using Jet for HTML templating

## Issues and Contributions

For bug reports or feature requests, please open an issue on the GitHub repository.

## Roadmap

- Add autocompletion for built-in functions and control structures
- Implement template path resolution
- Add support for custom safe writers