User Guide > Reference > PHP Preferences > Editor

Editor Preferences

The Editor Preferences page allows you to configure smart caret positioning behavior in the editor. Smart caret positioning determines where the cursor will jump to when certain positioning keys (e.g. Home / End) are pressed.

The Editor Preferences page is accessed from Window | Preferences | PHP | Editor.

Editor preferences page

 

 

 

Instructions on how to complete a procedure

To configure Smart Caret Positioning Preferences

  1. Mark the required checkboxes to configure the following options:

  • Smart caret positioning at line start and end - If this checkbox is unmarked, the cursor will jump to the beginning/end of a line when Home/End are pressed. If it is marked, the cursor will jump to the beginning/end of the typed line (i.e. ignoring the tabs at the beginning/end of a line).

  • Smart caret positioning in PHP names - If this checkbox is marked, the cursor will jump to the beginning/end of a 'word' within a PHP element (class / function / variable) when Ctrl + left arrow/right arrow are pressed. When unmarked, it will jump to the beginning/end of the whole element.

  1. Click Apply to apply your settings.

Note:

More editor settings can be accessed by clicking the "Text Editors" link.

 

 

 

Related Links:

PHP Preferences

Content Assist Preferences

Folding Preferences

Hovers Preferences

Syntax Coloring Preferences

Task Tags Preferences

Typing Preferences

 

 

©1999-2013 Zend Technologies LTD. All rights reserved.