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" #55271

Closed
domske opened this issue Jul 27, 2018 · 1 comment
Closed

Settings "search.include" #55271

domske opened this issue Jul 27, 2018 · 1 comment
Assignees
Labels
search Search widget and operation issues

Comments

@domske
Copy link

domske commented Jul 27, 2018

There is a setting "search.exclude", but not "search.include".
I want to exclude ALL (**) BUT not /src. Only search in /src.
I expected that I can set the include which is evaluated after exclude to set:

{
  "search.exclude": {
    "**": true
  },
  "search.include": {
    "/src": true
  }
}

(include > exclude)

Is there already way to only search in the src-folder? Without setting it every time in the vs code editor earch input? Is there already a setting / config file to enable this?
Exclude all folders and files but not /src.

I do not want to exclude every folder in my project. It's easier to just include the few folders.

Current VS Code Version: 1.25.1

@vscodebot vscodebot bot added the search Search widget and operation issues label Jul 27, 2018
@roblourens
Copy link
Member

#869

@vscodebot vscodebot bot locked and limited conversation to collaborators Sep 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
search Search widget and operation issues
Projects
None yet
Development

No branches or pull requests

2 participants