Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Finding class declarations in workspace
Finding class declarations in workspace [message #766881] Fri, 16 December 2011 15:40 Go to next message
Sal! Missing name is currently offline Sal! Missing nameFriend
Messages: 6
Registered: December 2011
Junior Member
Hi guys,

How would I find where a class has been called in a workspace? That is, I want to find every instance of its declaration.

Any help is greatly appreciated!
Re: Finding class declarations in workspace [message #766906 is a reply to message #766881] Fri, 16 December 2011 16:15 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 16-Dec-11 08:41, Sal! wrote:
> Hi guys,
>
> How would I find where a class has been called in a workspace? That is,
> I want to find every instance of its declaration.
>
> Any help is greatly appreciated!

You mean, perhaps, every instance of its use?

Select the classname (probably an instance of its use in a file before
your eyes), type ctrl-H, click Java Search (the class and its package
should already appear in the search string), click Search and see what's
found in the Search view.
Re: Finding class declarations in workspace [message #766985 is a reply to message #766906] Fri, 16 December 2011 19:49 Go to previous message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
Select the class (actually put the cursor anywhere in the class) and hit Ctrl-G. This provides Declarations in the workspace.
Previous Topic:Is there an on-exit hook?
Next Topic:Advanced (Unorthodox?) Formatting in Eclipse
Goto Forum:
  


Current Time: Fri Apr 26 02:18:56 GMT 2024

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

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

Back to the top