redhat-developer / quarkus-ls

Language server for Quarkus tooling
Eclipse Public License 2.0
43 stars 15 forks source link

Completion for template parameters in `{#include}`'d Qute templates #815

Open datho7561 opened 1 year ago

datho7561 commented 1 year ago

eg.

If you have a Qute template:

I like to eat ice cream while at the {location}.

and you include it in another template:

<h1>My title</h1>

<p>
{#include template.html /}
</p>

you can pass in the template value like this:

{#include template.html location="park" /}

It would be nice to provide completion for location when the cursor is here:

{#include template.html | /}