You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using templ generate -watch, files are generated with the _templ.txt suffix. Could these be added to the file nesting under the .templ file?
A workaround is to add it as a custom file nesting (in project view settings > file nesting), but for some reason that hides the generated _templ.go files...
The text was updated successfully, but these errors were encountered:
DemonTPx
changed the title
Add watch files to nesting
Add generated watch files (*_templ.txt) to file nesting
Jun 12, 2024
It would be useful it both _templ.go and _templ.txt files were nested below .templ files.
Weidly, when trying to use GoLand's File Nesting feature to achieve that, the .txt file is nested but the .go file is hidden. I suspect that may be because with a conflict with the way this plugin is setting up nesting for .go files.
When using
templ generate -watch
, files are generated with the_templ.txt
suffix. Could these be added to the file nesting under the.templ
file?A workaround is to add it as a custom file nesting (in project view settings > file nesting), but for some reason that hides the generated
_templ.go
files...The text was updated successfully, but these errors were encountered: