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

て烟熏妆下的殇ゞ 提交于 2020-01-03 08:07:12

问题


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!


回答1:


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.




回答2:


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


来源:https://stackoverflow.com/questions/47918689/visual-studio-code-cant-find-files-inside-vendor-folder-laravel-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!