GOTTH
GOTTH copied to clipboard
Excluding the *_templ.go files in explorer and search in VS Code
Hi, I just want to share some nice improvements. Since we don't and must not do anything with the generated templ go code files, I think it's better to hide it in the explorer and search (with command ctrl + p) in Visual Studio Code with this particular settings:
{
"files.exclude": {
"**/*_templ.go": true
},
"search.exclude": {
"**/*_templ.go": true
}
}
We can put this into per project settings inside .vscode/settings.json and it we will have a much better experience when working with templ and not just randomly open the generated code without noticing haha)) Nice works though and hopefully you considering this!
Спасиба!