Forking https://github.com/Microsoft/vscode/issues/78 where there is much discussion
Hiding files in the file explorer is currently possible with the files.exclude setting.
Would we hide .gitignored files or color/annotate them somehow?
Would we use git check-ignore/git ls-files or do we need something faster? Would it make sense to use part of ripgrep here?
I would love to color them different similar to how atom handles it. I guess even reducing the opacity of the filename would be enough and indicate that it's one of the ignored files.
Hide should definitely be an option in addition to coloring imo.
The most important thing for the "Go To File" (CMD + P) feature is we navigate our projects by remembering our file names and Go To File whenever we need to edit them.
Hence the Go To File feature should always show the most relevant files IN THE PROJECT and placed right at the top. Gitignored files can load later and can be hidden/have "disabled" style depending on how the community likes it.
Upcoming 1.18 release will mark .gitignored files in the explorer, see 1.18 release notes.
I think this works just fine in 1.18. Closing
How do I hide .gitignored files?
The title says hide/mark, so you can currently mark.
Hide is not yet possible. For that it would be good to create a new feature request. Thanks
Most helpful comment
Hide should definitely be an option in addition to coloring imo.