[program-java] Re: Eclipse: List of Commonly Used Features... Part III

  • From: "Stanzel, Susan - Kansas City, MO" <susan.stanzel@xxxxxxxxxxxx>
  • To: "program-java@xxxxxxxxxxxxx" <program-java@xxxxxxxxxxxxx>
  • Date: Wed, 6 Apr 2011 09:36:29 -0500

WOW Thanks.

Susie

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx 
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Wednesday, April 06, 2011 9:28 AM
To: 'program-java@xxxxxxxxxxxxx'
Subject: [program-java] Eclipse: List of Commonly Used Features... Part III

7. References:

When debugging or analyzing an existing project I often like to note where a 
method is used in a project. Around here anyway, we often write methods that 
are generic so they can be used in many places. So here's what I do to locate 
all the references for a given method.

I. From the class where the method is declared I place my cursor on the actual 
name of said method.

II. I right click and scroll the pop up menu until I locate "References. It has 
a sub menu and I next select Project.

III. This could be a rather lengthy task but as soon as JFW / your screen 
reader goes silent. Use CTRL + Shift + TAB five times until you land on a tree 
view. This tree will list the class and methods. Scrolling the Tree or its 
child nodes will expose the areas where the calls to that particular method are 
made. Hitting enter on a given element will place you directly where it is 
called.

Much more handy then trying to search for the method.

6. List of Applicable Options in a given Context.

CTRL + Space Bar and the TAB Key.

...an example would be if you use the key word "throws" The use of the 
previously mentioned key strokes will list all the exceptions for that given 
context. I don't really know how better to explain it other than what I have 
written.

5. Intellisense...

When dealing with an object, and you want a list of methods or properties 
associated with same.... Press the period key directly after the object name, 
then press the TAB key. A list of items will appear and by using the up and 
down arrows the list will expand. Select the option and press the enter key.


Other related posts: