How do you include git ignored files in VSCode quick search

Viewed 221

Working in PHP, my vendor folder is ignored by git.

If I press Command-P, how would I include ignored files in the quick search?

1 Answers

You can specify the state of inclusion for items in quick open using the following workspace (or otherwise) setting : search.exclude

Per their docs:

Configure glob patterns for excluding files and folders in fulltext searches and quick open. Inherits all glob patterns from the #files.exclude# setting

Edit: I interpreted what you were asking incompletely with my initial response, but will leave it for future question seekers and also because you can use in tandem with the following.

If you would like to make sure ignored files are present in quick open use one of the following, or both, depending on the scope of which it's ignored:

"search.useIgnoreFiles": false,
"search.useGlobalIgnoreFiles": false
Related