Visual Studio Code can't find files inside vendor folder (Laravel project)

Fix 1.

I am not sure how many projects you have but I think you can enable this by changing the excludefile settings.

  1. Go to VSCode > Preferences > Settings or press ⌘,.
  2. Search for files.exclude and make **/.git to false.

Fix 2

OR try to search for search.useIgnoreFiles in your settings and make it false.

You can find more details here.


  • Open User Settings
  • Search for: "Search: Use Ignore Files"
  • Uncheck: "Controls whether to use .gitignore and .ignore files when searching for files."