Skip to main content



      Home
Home » Newcomers » Newcomers » How to find files, classes and functions?
How to find files, classes and functions? [message #155446] Sun, 04 June 2006 23:31 Go to next message
Eclipse UserFriend
Originally posted by: siegfried.heintze.com

Let's assume I'm working in a large java servlet project somebody else
created.
(1) How do I find a function implementation if I know the name of the
function and maybe the name of the ancestor interface but not the name of
the implementation class?
(2) How do I find a class definition if I know the class name but not the
package name?
(3) How do I find a file if I know the file name but not the directory path?

Thanks,
Siegfried
Re: How to find files, classes and functions? [message #155498 is a reply to message #155446] Mon, 05 June 2006 07:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hendrik_maryns.despammed.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

Siegfried Heintze uitte de volgende tekst op 06/05/2006 05:31 AM:
> Let's assume I'm working in a large java servlet project somebody else
> created.
> (1) How do I find a function implementation if I know the name of the
> function and maybe the name of the ancestor interface but not the name of
> the implementation class?
> (2) How do I find a class definition if I know the class name but not the
> package name?
> (3) How do I find a file if I know the file name but not the directory path?

Search -> Search files, tab Java Search and File Search.

HTH, H.
--
Hendrik Maryns

==================
www.lieverleven.be
http://aouw.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEhBvTe+7xMGD3itQRAgCaAJ4ntFSuQmdof5fsCju2nhp3WOlAUwCf VakS
mDp2I/jEEtj15/QSk3+kRZQ=
=SU89
-----END PGP SIGNATURE-----
Re: How to find files, classes and functions? [message #155773 is a reply to message #155446] Tue, 06 June 2006 08:15 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse4.rizzoweb.com

Siegfried Heintze wrote:
> Let's assume I'm working in a large java servlet project somebody else
> created.
> (1) How do I find a function implementation if I know the name of the
> function and maybe the name of the ancestor interface but not the name of
> the implementation class?
> (2) How do I find a class definition if I know the class name but not the
> package name?
> (3) How do I find a file if I know the file name but not the directory path?

Ctrl+shift+T will give you the Open Type dialog, where you can easily
locate any class/interface in your workspace.
To answer (1) above: Open the interface, then right-click the method and
choose Declarations > Workspace to find all classes that declare that
method.

Hope this helps,
Eric
Previous Topic:Why is it non-profit?
Next Topic:Newb here: simple new java project plugin help.
Goto Forum:
  


Current Time: Sat Jun 21 08:53:29 EDT 2025

Powered by FUDForum. Page generated in 0.09422 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top