Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can i search a string in the source code?

 
Mohana Rao Sv
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using Eclipse ide and working with struts 2.0 attached source code. I want to find all the instances of a particular class where it is instantiated in entire struts-core-2.2.3. How can i do that. Thanks
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this: select the class, right-click on it and choose Open Call Hierarchy.
 
Mohana Rao Sv
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks peter, But open in type hierarchy worked for me.
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Open Type Hierarchy does not show the locations where the class is instantiated. Instead, it shows classes that extend the class. Or was your original question incorrect (you mentioned "instantiated")?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic