GOTTH icon indicating copy to clipboard operation
GOTTH copied to clipboard

Excluding the *_templ.go files in explorer and search in VS Code

Open ahmadyogi543 opened this issue 8 months ago • 0 comments

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!

ahmadyogi543 avatar May 03 '25 04:05 ahmadyogi543

Спасиба!

vas3k avatar Feb 10 '25 10:02 vas3k