How to detect typos?
#219
-
Imagine I have a typo
In above example the closing tag is not closing. I am a bit paranoid and would like to have an automated way to detect typos like this. Does templ help here, or do you know tools that could help? |
Beta Was this translation helpful? Give feedback.
Answered by
a-h
Oct 6, 2023
Replies: 1 comment 1 reply
-
The In addition, templ has editor extensions for VS Code and Neovim that display those errors while you're working in your editor. (They're called "LSP diagnostics") Support for Jet Brains IDEs is on its way. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
guettli
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
templ generate
command will complain about the unclosed element.In addition, templ has editor extensions for VS Code and Neovim that display those errors while you're working in your editor. (They're called "LSP diagnostics")
Support for Jet Brains IDEs is on its way.