从搜索中排除文件夹,但不在项目列表中 [英] Exclude folder from search but not from the project list

查看:95
本文介绍了从搜索中排除文件夹,但不在项目列表中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有几个不同的项目,它们具有相同的core.

I have a few different project with the same core.

我需要做的是将所有非当前项目标记为excluded,以避免在它们之间进行搜索(简单搜索,shift + cmd + n等)

All I need is to mark all not current projects as excluded to avoid searching through them (simple search, shift + cmd + n etc.)

换句话说,我想从core + current project中获得搜索结果.

In other words I want to have a search results from the core + current project.

有什么办法可以使close一些项目,但是在projects listopen中使它们变得很容易,因为它很容易被关闭?也许您还有其他经验?

Is there are any way do close some projects but have them available in the projects list and open it so easy as it was closed? Or probably you have another experience?

推荐答案

要应用自定义搜索,请使用范围Setting> Project Settings> Scopes将其用于Find in PathReplace in Path.
我建议重新组织您的文件夹,以便在项目目录中不要留下不必要的文件.另外,您可以通过转到Settings> Project Settings> Directories并添加其他目录来指定源根目录".

To apply custom search use Scopes Setting > Project Settings > Scopes to use it for Find in Path or Replace in Path.
I suggest to reorganize your folders, so that no unnecessary files are left in project directory. Also, you can specify Source Root by going to Settings > Project Settings > Directories and adding additional directories.

这篇关于从搜索中排除文件夹,但不在项目列表中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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