• Sign In



  • Categories

    Extension Details



    Readme

    ExpressionEngine Syntax Highlighting for Nova

    ExpressionEngine Syntax Highlighting provides syntax highlighting and code completions for HTML-based ExpressionEngine templates in Panic Nova.

    Features

    • Highlights ExpressionEngine tags, variables, conditionals, parameters, strings, operators, and {!-- comments --}.
    • Preserves Nova's HTML highlighting, including embedded CSS and JavaScript in <style> and <script> elements.
    • Provides starter completions for common ExpressionEngine tags, conditionals, closing tags, layout tags, and global variables.
    • Supports Intel and Apple silicon Macs with a universal Tree-sitter parser.

    Usage

    Open an ExpressionEngine template and select HTML (ExpressionEngine) from Nova's syntax menu if the syntax is not selected automatically.

    ExpressionEngine templates do not need .ee in their filenames. Nova can detect the syntax in ordinary .html and .htm files when they contain a strong ExpressionEngine marker such as {exp:...}, {if ...}, {layout:...}, or an ExpressionEngine comment. The .ee.html and .html.ee filename patterns are also recognized as optional explicit hints.

    Completions are currently a starter set and do not discover project-specific fields, snippets, template variables, or third-party add-ons.

    Issues

    Please report problems and feature requests on the GitHub issue tracker.

    License

    MIT

    Release Notes

    Changelog

    All notable changes to the ExpressionEngine Syntax Highlighting extension are documented here.

    0.2.0

    • Added code completions for common ExpressionEngine module tags, conditionals, special tags, closing tags, and global variables.
    • Added completion placeholders for commonly used tag parameters.

    0.1.0

    • Added Tree-sitter syntax highlighting for HTML-based ExpressionEngine templates.
    • Added highlighting for ExpressionEngine tags, variables, conditionals, parameters, strings, operators, and comments.
    • Added HTML injection so Nova continues to highlight HTML, CSS, and JavaScript within templates.
    • Added a universal parser for Intel and Apple silicon Macs.