Visual Studio Code在供应商文件夹(Laravel项目)中找不到文件 [英] Visual Studio Code can't find files inside vendor folder (Laravel project)

查看:227
本文介绍了Visual Studio Code在供应商文件夹(Laravel项目)中找不到文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Laravel 5.5,并且使用Visual Studio Code进行代码编辑.上次更新后,VS Code吓坏了.主要问题是我无法使用ctrl + p搜索vendor文件夹内的文件.我可以搜索并找到除vendor文件夹内的所有文件. vendor文件夹是否不允许搜索?我找不到与此相关的任何内容.有人有类似的问题吗?谢谢!

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 .

我不确定您有多少个项目,但是我认为您可以通过更改excludefile设置来启用它.

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

  1. 转到VSCode>偏好设置">设置"或按⌘,.
  2. 搜索 files.exclude ,并将**/.git设置为false.
  1. Go to VSCode > Preferences > Settings or press ⌘,.
  2. Search for files.exclude and make **/.git to false.

修复2

或尝试在设置中搜索 search.useIgnoreFiles 并将其设置为false.

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

您可以在此处找到更多详细信息.

You can find more details here.

这篇关于Visual Studio Code在供应商文件夹(Laravel项目)中找不到文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆