User Guide > Concepts > Hover Support

Hover Support

Hovering over an element will cause a tooltip to appear with information about that element, containing information (description, package, parameters, etc.) contained in the element's relevant PHPdoc comment:

Hover information also includes links to other information such as overrides and returns for methods, types, and other elements,  and to external information sources.

Holding down Ctrl while hovering over an element will also show you everything contained within that element:

 

When hovering, press F2 for the Hover tooltip to come into focus. This ensures that it is displayed even when not hovering and enables you to select the text from within it.

Clicking on an element while hovering will take you to that element's declaration. See Using Smart Goto Source for more information.

Configuring Hover Preferences

To configure your hover settings, go to the Hover Preferences page, accessible by going to Window | Preferences | PHP | Editor | Hovers.

Note:

Hovering will also be enabled for JavaScript elements if JavaScript support was enabled for the project. See Enabling JavaScript Support in PHP Projects for more information. JavaScript hover settings can be configured from the JavaScript Hovers preferences page, accessible by going to Window | Preferences | Web | JavaScript | Editor | Hovers.

 

 

Related Links:

Using Smart Goto Source

Hover Preferences

 

 

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