Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP documentation mouse-over JetBrains PHPStorm 3.0

Tags:

php

phpstorm

Is it possible to set mouse-over view of method/class documentation in PHPStorm 3.0?

So if I start typing some method name, I see its autocompletion, but there is no PHP documentation anywhere?

/**
 * Some function.
 *
 * @param $status_code  Status code
 * @param null $message Message
 */
public function error($status_code, $message = NULL) {
    echo $status_code . " - " . $message;
}
like image 690
svenkapudija Avatar asked Apr 22 '12 11:04

svenkapudija


2 Answers

I know the title says 3.0, but for anybody looking for this question on PHPStorm 7 you can do this by going to File > Settings, under IDE Settings go to Editor. And then in the right pane, scroll down to the "Other" sub section, and mark Show quick doc on mouse move

like image 184
Christopher Francisco Avatar answered Nov 11 '22 08:11

Christopher Francisco


It's possible for explicit code completion:

documentation

However, documentation on hover is not supported yet.

like image 6
CrazyCoder Avatar answered Nov 11 '22 08:11

CrazyCoder