Skip to content

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

@ahmadyogi543

Description

@ahmadyogi543

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions