Closed aaronbushnell closed 3 months ago
The extension won't publish an antlers.json
file (or shouldn't) when running the Reload Statamic Project Details
command. Do you get any suggestions at all if you place the cursor like so and manually trigger the completions shortcut {{ | }}
?
An easy way to tell if the extension has loaded is if syntax highlighting works and the language has changed to HTML (Statamic Antlers)
:
I'm not able to reproduce this at the moment, so any extra info about the project itself or other installed extensions would be helpful. Thanks!
Ah, nevermind, @JohnathonKoster, this was user error here! While I had some autocomplete the field names weren't autocompleting for me because I was in a dynamic template I was using for a Replicator field.
As soon as I tested out this in another template:
{{ collection:blog }}
{{ /collection:blog }}
And typed out {{ su
I got the summary
field I expected. Thank you!
Describe the bug Sorry for submitting another bug report here—I might be doing something wrong. I've got the extension installed, but I'm not seeing an
antlers.json
file being generated for my project (which seems to be the way to determine if the extension is working off your Statamic project).I've tried swapping the "Antlers Language Server: Language Version" from
regex
toruntime
and neither seemed to help in my case.Happy to supply any debugging information you might need for this one!
I'm not sure if this is related, but when I use
{{ }}
in an Antlers file I get this output in the Output area of VS Code:Impacted Products Which Antlers Toolbox products does this bug apply to?
Versions and Other Plugins/Extensions
To Reproduce
antlers.json
file using the "Reload Statamic Project Details" command palette item