https://github.com/dmitrymomot/zed-jet-support
https://github.com/dmitrymomot/zed-jet-support
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dmitrymomot/zed-jet-support
- Owner: dmitrymomot
- Created: 2024-12-29T19:21:03.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-29T19:25:40.000Z (5 months ago)
- Last Synced: 2024-12-29T20:24:53.410Z (5 months ago)
- Language: Scheme
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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