English 中文(简体)
传真:IDE 查询功能
原标题:Eclipse IDE search a function with given name
  • 时间:2010-09-10 07:49:57
  •  标签:
  • java
  • eclipse

How to search a partifular function in a particular project in Eclipse e.g. if I want to search a function with name xyz how do I do it?

最佳回答

在搜索器中使用“Java搜索”,或在源头和报章上调取功能名称的护理(Ctrl+Shift+G(->在工作空间寻求参考)。

[EDIT] 如果你不知道哪类功能,则使用文字检索(称为“File search”)。 在搜索领域填写姓名,然后将搜索限于“*.java”档案。

问题回答

如果你不知道该方法的所在,则使用文字搜索作为整个项目的根基,如果你真的不了解该方法可能在哪里的话,则设计或甚至整个工作空间;Search ——File...... 带上方言语,让你进入你所期望的东西。 你们不得不通过它发现的所有东西(利用搜索窗口)来确定真实的同.,但这比任何东西都好。

你可以撰写一些使用这一功能的法典,然后使用[Ctrl] + [Click]trick滴来实施。

Eclipse Neon 4.6, CTRL+ H(从菜单搜查到搜查;搜查)可以使用“碎片搜索”或“Java搜索”表格。 两者都非常有用





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签