Description
The search-in-workspace search does not respect the globs presented in the files.exlude preference. The default preference consists of:
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true
}
However, when searching, I can see results from the .git folder:

Using the Include Ignored Files option has no effect as well.
@vince-fugnitto Does it in VS Code?
@vince-fugnitto Does it in VS Code?
VS Code does respect the property but they have an additional preference to control the behavior, namely search.exclude which inherits values from files.exclude:
We should look to support such a preference as well.
ok, we should align it
Most helpful comment
ok, we should align it