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

时间:2015-05-16 17:57:10

标签: phpstorm

我是新手,还有很多值得学习的东西。如果输入一个函数,我想看看PHP Manual参考。像这样:

    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中找到某个地方会很高兴。 &#34;显示鼠标移动的快速文档&#34;在编辑菜单下,版本8中不再可用。理想情况下,我想设置phpStorm,以便我可以 1)在某处看到一个固定的窗口 2)当我用适当的3)PHP文档参考

键入新函数时自动更新

1 个答案:

答案 0 :(得分:4)

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

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

    enter image description here

  2. View | Quick Documentation - 您可以固定(因此它会永久保留在屏幕上)并启用插入符号下元素的文档自动更新(< em>一旦它被固定就可用;&#34; X&#34;旁边的按钮叫Auto-update from source)。

    enter image description here