Displaying a Method Definition

In the main window:

  1. Open the project in the Project card.

  2. In the Source panel or any card, select the method name you want to display.

  3. Choose Queries > Method Queries > Show Source.

    The source code for the method is displayed in the Source panel.


In the Query card:

  1. Open the project in the Project card.

  2. Display the method name by choosing "methods" from the option menu, typing the string to search on, and pressing <Enter>.

  3. All methods matching the the string are displayed in the Query card.

  4. Select the method and choose Show Source from the right-mouse-button-menu.

    The source code for the method is displayed in the Source panel.


In the Class card:

  1. Open the project in the Project card.

  2. Display the class containing the method by typing the class name in the Class/Interface field and pressing <Enter>.

  3. Select the method name and choose Show Source from the right-mouse-button-menu.

    The source code for the method is displayed in the Source panel.

See Also

Guide to the Cosmo Code Development Environment
12-96*228