Extracting a Method Selected in a Methods List

You can extract a single method from a list (for example, after a references request of an entity) in the same way you can when you select a method in the Methods List of the Class Browser and then select the Extract command from the Methods menu.

To extract a single method selected in a methods list

  1. Select the method from a list of methods (for example, in the list showing the search results in the Global Find/Replace Results form).

  2. Select the Extract Method command from the Methods menu. The common Save As dialog is then displayed.

    The Extract Method command is disabled if the current method has been modified but not saved. Moving the cursor over the disabled command displays Not available - Method has been modified but not saved.

  3. Specify the name and location of your method file, as follows.