Results 1 to 5 of 5
  1. #1
    emceenugget is offline Senior Member
    Join Date
    Sep 2008
    Posts
    564
    Rep Power
    9

    Default possible to search files in project for use of a certain method?

    i was wondering if there is some kind of search function in eclipse such that given a method in a class, it will search uses of this method throughout the entire project. thanks for any help.

  2. #2
    mtyoung is offline Senior Member
    Join Date
    Dec 2008
    Location
    Hong Kong
    Posts
    473
    Rep Power
    9

  3. #3
    emceenugget is offline Senior Member
    Join Date
    Sep 2008
    Posts
    564
    Rep Power
    9

    Default

    thanks. i wasn't aware there was a ctrl-h search. i've been using just ctrl-f

  4. #4
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    1,046
    Rep Power
    10

    Default

    Put the cursor on the method, or any place it is validly invoked in your project, and press Ctrl-Shift-G. That should bring up a list of all references to it. Works with fields, classes, etc.

  5. #5
    mtyoung is offline Senior Member
    Join Date
    Dec 2008
    Location
    Hong Kong
    Posts
    473
    Rep Power
    9

Similar Threads

  1. DOAP files (description of a project)
    By turtleboy in forum XML
    Replies: 0
    Last Post: 11-05-2008, 02:54 PM
  2. Replies: 5
    Last Post: 08-26-2008, 03:43 PM
  3. Replies: 1
    Last Post: 06-06-2007, 04:20 AM
  4. How to search files with Java
    By karma in forum New To Java
    Replies: 1
    Last Post: 05-26-2007, 01:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •