php phpStorm,不要索引文件夹/树
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12933651/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
phpStorm, do not index a folder / tree
提问by LeMike
I can't find the ability of phpStorm 5 to avoid indexing a specific folder. I don't want to exclude it from the Project-View, just don't want phpStorm to index the containing folders, classes, functions etc.
我找不到 phpStorm 5 避免索引特定文件夹的能力。我不想从项目视图中排除它,只是不想让 phpStorm 索引包含的文件夹、类、函数等。
How is that possible?
这怎么可能?
回答by JamesHalsall
From their documentation, looks like the only way to achieve this is to Exclude the directory which will hide it from the project tree...
从他们的文档中,看起来实现这一目标的唯一方法是排除将从项目树中隐藏它的目录......
To have PhpStorm ignore the selected directory during indexing, parsing, code completion, etc., click the Excluded toolbar button or choose Excluded on the context menu of the selection.
要让 PhpStorm 在索引、解析、代码完成等过程中忽略所选目录,请单击“排除”工具栏按钮或在选择的上下文菜单上选择“排除”。

