31

I'm working with Laravel 5.5 and I use Visual Studio Code for code editor. After last update, VS Code freaked out. The main problem is that I can't search files inside vendor folder with ctrl+p. I can search and find any files except inside vendor folder. Does vendor folder disallow searching? I can't find anything related to this. Does anyone have a similar problem? Thanks!

lewis4u
  • 14,256
  • 18
  • 107
  • 148
rufatZZ
  • 743
  • 2
  • 11
  • 27

2 Answers2

81

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.

Pankaj Agrawal
  • 1,469
  • 2
  • 17
  • 27
20
  • Open User Settings
  • Search for: "Search: Use Ignore Files"
  • Uncheck: "Controls whether to use .gitignore and .ignore files when searching for files."
Nguyen
  • 336
  • 2
  • 4