Konafets / antlers-idea

Adds support for Antlers, the templating language of Statamic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parse and format "extended" comments aka Template IDE hints

Konafets opened this issue · comments

A normal comment looks like {{# This is a comment #}} and this works so far. However, "Template IDE hints" are getting used more often for example in the Peak codebase. This concept originated from the Antlers Toolbox https://antlers.dev/docs/template-ide-hints. For now this plugin should be able to lex and parse them correctly to provide proper formatting.

{{#
    @name The template name.
    @desc A human-friendly description for your awesome template.
#}}