Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Shortcut for "Open Annotated Classes"
Shortcut for "Open Annotated Classes" [message #758751] Thu, 24 November 2011 08:33 Go to next message
Jens Piegsa is currently offline Jens Piegsa
Messages: 16
Registered: July 2009
Location: Germany
Junior Member

Hi folks,

is there a shortcut for finding all classes that are tagged with a given
annotation?

Thanks,
Jens
Re: Shortcut for "Open Annotated Classes" [message #758836 is a reply to message #758751] Thu, 24 November 2011 11:43 Go to previous messageGo to next message
Deepak Azad is currently offline Deepak Azad
Messages: 545
Registered: July 2009
Senior Member
> is there a shortcut for finding all classes that are tagged with a given
> annotation?

A reference search for the 'selected' annotation should do the job - try
Ctrl+Shift+G.

--
Deepak Azad
http://wiki.eclipse.org/JDT/FAQ
Re: Shortcut for "Open Annotated Classes" [message #758898 is a reply to message #758836] Fri, 25 November 2011 01:19 Go to previous messageGo to next message
Satyam Kandula is currently offline Satyam Kandula
Messages: 444
Registered: July 2009
Senior Member
In the search Java dialog, you could select 'Type' in 'Search For' group. You could select 'Match Locations' in 'Limit To' and in the dialog box that comes up on selecting the link aside, select 'Annotations'.
Re: Shortcut for Open Annotated Classes [message #758948 is a reply to message #758898] Fri, 25 November 2011 06:27 Go to previous message
Jens Piegsa is currently offline Jens Piegsa
Messages: 16
Registered: July 2009
Location: Germany
Junior Member

Thanks!

With this operation supported by the IDE, there's no drawback of using
annotations instead of marker interfaces (in my case).

Jens
Previous Topic:Add new method and position cursor in body
Next Topic:How to avoid double-builds from console and from eclipse
Goto Forum:
  


Current Time: Thu Aug 21 00:34:09 EDT 2014

Powered by FUDForum. Page generated in 0.03071 seconds