Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search not respecting search.exclude #94702

Closed
akbyrd opened this issue Apr 8, 2020 · 3 comments
Closed

Search not respecting search.exclude #94702

akbyrd opened this issue Apr 8, 2020 · 3 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@akbyrd
Copy link
Contributor

akbyrd commented Apr 8, 2020

When I use global search it's not respecting my workspace settings.exclude. I have a notes folder in my workspace with a bunch of txt files. In my workspace I have "search.exclude": { "**/*.txt": true }. However, when I have an editor open with one of those text files it shows up in search results. It looks like search now considers all open editors but doesn't apply my explicit settings when doing so.

I think this behavior changed at some point, because I don't recall this being an issue before.

@vscodebot
Copy link

vscodebot bot commented Apr 8, 2020

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@gjsjohnmurray
Copy link
Contributor

/duplicate of #31819 so apparently it's behaved this way for a long time.

@github-actions github-actions bot locked and limited conversation to collaborators May 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants
@akbyrd @gjsjohnmurray and others