Stillat / vscode-antlers-language-server

Provides rich language features for Statamic's Antlers templating language, including code completions, syntax highlighting, and more.
https://antlers.dev
MIT License
36 stars 3 forks source link

Variable parser doesn't take fieldset prefixes into account #10

Closed robdekort closed 3 years ago

robdekort commented 3 years ago

It seems the variable suggestions don't seem to take fieldset prefixes into account. Although maybe it's something I can avoid myself by changing the template IDE hints?

This is what goes wrong for me:

Screenshot_2021-07-06_at_15 54 14

This a field called ampersand in a fielset that's imported with the prefix hero_.

So it should be hero_ampersand instead of ampersand (this is what it currently suggests).