ouWorking with Multi Cursor

This page describes how to work with Multi Cursor in Zend Studio.

Note:

To rename PHP elements such as variables, functions, and classes, we recommend using refactoring. For more information, see Using Refactoring.

 

 

Instructions on how to complete a procedure

Selecting all occurrences using Multi Cursor:

  1. Select an element in your code you wish to edit.
  2. Press ALT + F3 (MAC OS X: CTRL + CMD + G).
    All occurrences are selected.

  1. Edit the occurrence.
    Your changes are applied to all occurrences.

 

Selecting next occurrences using Multi Cursor:

  1. Select an element in your code you wish to edit.
  2. Press ALT + J (MAC OS X: CTRL + G).
    Next occurrence is selected.

  1. Edit the occurrence.
  2. Repeat to select remaining occurrences.