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

Settings "search.include" #203063

Closed
evanlemke opened this issue Jan 22, 2024 · 1 comment
Closed

Settings "search.include" #203063

evanlemke opened this issue Jan 22, 2024 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@evanlemke
Copy link

There is a setting "search.exclude", but not "search.include".

My problem is that search.exclude inherits from files.exclude. I would like to be able hide linter configuration files like .prettierrc, while still being able to quick open or search in them.

{
  "files.exclude": {
    ".node-version": true,
    ".prettierrc": true,
  },
  "search.exclude": {
    "**/node_modules": true
  },
  "search.include": {
    ".prettierrc": true,
  }
}

This is very similar #55271 but it was closed in favor of #869. #869 does not address this use case because the files.exclude inheritance can not be pattern matched against.

I would like to see either

  • the ability to disable search.excludes inheritance of files.exclude
  • a stand alone search.include setting
@andreamah
Copy link
Contributor

Please contribute to this discussion in #869. Although your use case is different, the implications and implementation of a search.include should also consider the use cases that others have for creating more advanced file/search globbing. Thanks!

/duplicate #869

@andreamah andreamah closed this as not planned Won't fix, can't repro, duplicate, stale Jan 22, 2024
@VSCodeTriageBot VSCodeTriageBot added the *duplicate Issue identified as a duplicate of another issue(s) label Jan 22, 2024
@aiday-mar aiday-mar added this to the February 2024 milestone Feb 6, 2024
@andreamah andreamah removed this from the February 2024 milestone Feb 16, 2024
@microsoft microsoft locked and limited conversation to collaborators Jun 10, 2024
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

4 participants