PhpStorm搜索无处不在,您知道解决方案吗? [英] PhpStorm Search Everywhere is not working, do you know the solution?
问题描述
我不知道这是不是题外话,我使用的是一般频道.在PhpStorm中是否有针对随处搜索"的解决方案.我使用Laravel,但是当我使用该功能时,即使该文件存在,我也找不到它.
查看您的屏幕快照:基于以下事实:项目树中的所有文件都具有这种脏黄"的含义.背景颜色...由于某种原因,您的所有文件似乎都被排除在项目外/在项目外.
最有可能是某种用户错误.例如.您可能从其他路径打开了它(即,当涉及符号链接时),以后可能以某种方式c =错误地配置了它(将文件夹标记为错误或其他原因排除在外),甚至可能是某种配置文件损坏(不太可能)./p>
无论如何,请执行以下操作:
- 关闭您的项目
- 转到项目根文件夹,然后删除您的
.idea
子文件夹(存储项目设置的位置). - 如果该项目在IDE中仍然可见(欢迎"屏幕上的最近的项目"),您也可以将其删除(以避免任何混乱).
- 现在使用现有文件从头开始在PhpStorm中创建一个新项目:并指向包含您的项目的文件夹.
I don't know this is off topic or not, I'm using general channels. Is there a solution for Search Anywhere in PhpStorm. I work with Laravel but when I use the feature I can't find the file even though it exists.
Looking at your screenshot: based on the fact that ALL files in the project tree have that sort of "dirty yellow" background color... it looks like ALL of your files are considered excluded / outside of the project for some reason.
Most likely a user error of some kind. E.g. you may have opened it from a different path (i.e. when symlink is involved), may have c=misconfigured it later somehow (marked folder as Excluded by mistake or whatnot) or maybe even some sort of config file corruption (pretty unlikely).
Anyway, please do this:
- Close your project
- Go to the project root folder and delete your
.idea
subfolder (that's where your project settings are stored). - If you have that project still visible in the IDE (Recent Projects on the Welcome screen) -- you may remove it there as well (to avoid any possible confusion).
- Now create a new project in PhpStorm from scratch using existing files: just use "Open" and point to the folder with your project.
这篇关于PhpStorm搜索无处不在,您知道解决方案吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!