Hover Support

Hovering over an element will cause a tooltip to appear with information about that element, containing the location of its declaration and any additional information (description, parameters, etc.) contained in the element's relevant PHPdoc comment:

hover_function.png

Hover information also includes other information such as overrides and returns for methods, types, and other elements:

hover_support.png

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

hover_ctrl_multiply.png

 

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.

 

 

link_icon.png

Related Links:

Using Smart Goto Source

Hover Preferences