如何在 PHPStorm 8 中自动获取 PHP 手册引用?

How to get PHP manual references automatically in PHPStorm 8?

我是新手,要学的东西太多了。如果我输入一个函数,我希望看到 PHP 手册参考。像这样:

    strlen()

    int strlen ( string $string )
    Returns the length of the given string.

    example:
    <?php
    $str = 'abcdef';
    echo strlen($str); // 6

    $str = ' ab cd ';
    echo strlen($str); // 7
    ?>

如果能在 IDE 的某处看到,那就太好了。版本 8 中的 "Show quick doc on mouse move" 在“编辑”菜单下不再可用。理想情况下,我想设置 phpStorm,这样我就可以

1) 在
某处看到固定的 window 2) 当我使用适当的
3) PHP 文档参考

输入新函数时自动更新

两种可能(不同)的方式:

  1. 启用Settings (Preferences on Mac) | Editor | General | Show quick documentation on mouse move

  2. View | Quick Documentation -- 您可以 固定它(这样它就永久保留在屏幕上)并为下面的元素启用文档自动更新插入符号(固定后可用;“X”旁边的按钮称为 Auto-update from source)。