[英]How to exclude a single file from project in PhpStorm so that it doesn't show in search?
I can exclude directories by right clicking on them and selecting "Mark directory as->excluded". 我可以通过右键单击目录并选择“将目录标记为->已排除”来排除目录。 After that I no longer see files from that directory in search results.
之后,我不再在搜索结果中看到该目录中的文件。
Can I do the same for a single file? 我可以为一个文件做同样的事情吗?
You can go with Right click | 您可以单击右键| Mark as Plain Text.
标记为纯文本。 Also, there's a possibility to exclude files by pattern in Settings |
另外,还可以在“设置” |“设置”中按模式排除文件。 Directories, but in your case it may be less convenient.
目录,但对于您而言,它可能不太方便。
Take a look on this page it shows you the ways to achive the thing you want. 在此页面上看一下,它向您展示了实现所需事物的方法。
(It explains what Eugene Morozov suggested) (它解释了尤金·莫罗佐夫的建议)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.