问题
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.
- Go to VSCode > Preferences > Settings or press ⌘,.
- 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