English 中文(简体)
尤其是Eclipse项目
原标题:Search in particular Eclipse project

Is there any way to specify a project, where you want to search? It s been annoying me for a long time. Like when I hit Ctrl+H to search, the only scopes available are:

  1. Workspace
  2. Selected resources
  3. Enclosing projects
  4. Working set

因此,我认为对特定项目进行搜索的唯一三种方式是:

  • Open a file from the required project, hit Ctrl+H and choose Enclosing projects scope
  • Add required project to Working set, and perform search on this set.
  • Select a project in Project Explorer and search in Selected resources

All of these methods are not always convenient.
Sometimes, I just want to manually specify projects, where the search is to be performed

Edit:
The last option is not good for 2 reasons:

(1) 我通常有“与编辑的链接”选择,目前,联系人在项目探索者中将相应项目归档。 我们的项目相当庞大,因此,通常我必须抓住一切途径,使选定的项目能够突出其他项目。

2) 而且,当我从另一个角度开展工作时,如“ug”(我知道,我可以通过Window->Show View<>em”来补充项目时,项目探索者就无法实现,但这只是打破了观点的本质。

问题回答

暂无回答




相关问题
In Eclipse, why doesn t "Show In" appear for non-Java files?

If I have a *java file open, I can right click on the source, scroll down to "Show In (Alt-Shift-W)", and select Navigator. If I have an *xml, *jsp, or pretty much anything besides a Java source ...

Eclipse: Hover broken in debug perspective

Since upgrading Eclipse (Galileo build 20090920-1017), hover in debug no longer displays a variable s value. Instead, hover behaves as if I were in normal Java perspective: alt text http://...

Eclipse smart quotes - like in Textmate

Happy Friday — Does anyone know if eclipse has the notion of smart quotes like Textmate. The way it works is to select some words and quote them by simply hitting the " key? I m a newbie here so be ...

Indentation guide for the eclipse editor

Is there a setting or plugin for eclipse that can show indentation guides in the editor? Something like the Codekana plugin for visual studio (not so fancy is also OK). Important that it works with ...

Adding jar from Eclipse plugin runtime tab

I want to add .jar files for plugin from the Runtime tab of manifest file. When I use the Add... button, I can see only sub-directories of the plugin project. So if I want to add same .jar file to ...

How to copy multiple projects into single folder in eclipse

I have two projects, Project1 and Project2. Now i want to copy this projects into eclipse workspace but i want these projects to be in a single folder like below. Eclipse Workspace -> Project -> ...

Java: Finding out what is using all the memory

I have a java application that runs out of memory, but I have no idea which code is allocating the memory. Is there an application with which I can check this? I use Eclipse.

热门标签