Closed WilfredDube closed 1 week ago
Seeing the same on macOS with the latest VS Code (v1.90), Go extension (v0.41.4, gopls v0.16.0, go v1.22.3), and templ-vscode extension (v0.0.25, templ v0.2.707).
same
This has been fixed in mainline, it was a result of a change in gopls
, so should be resolved in the next release. Alternatively you can install mainline now go install github.com/a-h/templ/cmd/templ@main
.
Unfortunately changing to main now causes the issues outlined in #801.
For anybody else looking for a fix for this and running into issues after changing to main
, follow along on that issue.
Since yesterday my templ files can't be formatted by pressing:
(Ctrl+Shift+I)
in VS Code or VSCodium.When the editors open the following error message pops up:
This is the output:
I reinstalled the templ extension and added this in my settings.json but nothing works. It has been working well before and I can't trace back the steps that got me to this point.
These are some of extension settings for![Screenshot from 2024-06-23 11-43-22](https://github.com/a-h/templ/assets/22616354/be6f7e66-bf55-4da3-aea2-5cc9e74fd41e)
templ
. I'm not sure what I'm supposed to do here.