Skip to main content


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 13:33 Go to next message
Jens Piegsa is currently offline Jens PiegsaFriend
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 16:43 Go to previous messageGo to next message
Deepak Azad is currently offline Deepak AzadFriend
Messages: 543
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 06:19 Go to previous messageGo to next message
Satyam Kandula is currently offline Satyam KandulaFriend
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 11:27 Go to previous message
Jens Piegsa is currently offline Jens PiegsaFriend
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: Tue Apr 16 16:52:34 GMT 2024

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

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

Back to the top