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

Contextual suggestions don't work when nested inside another Antlers tag #55

Closed pdipatrizio closed 1 year ago

pdipatrizio commented 1 year ago

Describe the bug Contextual suggestions for partials aren't working while nested within another Antlers tag.

Impacted Products Which Antlers Toolbox products does this bug apply to?

Versions and Other Plugins/Extensions Antlers Toolbox v2.4.3

To Reproduce Create an empty .antlers.html file and add a basic if tag. From within the if tag, start typing {{ partial: }}.

{{ if true }}
  {{ partial: }}
{{ /if }}

Expected behavior Expected contextual suggestions from Antlers Toolbox.

Additional context Contextual suggestions for partials work fine while outside of the if tag. Also, I used the if tag for the example, but the same problem occurs no matter what the tag is.

JohnathonKoster commented 1 year ago

Improved in: