Hacker News new | ask | show | jobs
by maddalax 625 days ago
I do also like the idea behind templ, only issue is when I tried to use it, the DX was pretty poor on Jetbrains IDE’s. I think the LSP is broken for it
3 comments

I'm kind of in the same boat (but with VSCode). In addition to that, I found that it didn't make things too much easier than something like MVC with built-in template/html. The context integration seems like a huge footgun, since it just panics if you access a value that doesn't exist.
There is definitely a problem with the LSP. I've resorted to turning off the templ extension in VS Code, syntax highlighting and all.
That's actually something I've been slowly working on. There's a bug in the go parser tho that kinda slowed things down a lot.