dousunle5801
2013-04-09 23:52 阅读 33
已采纳

IntelliJ自动完成不显示PHPDoc

When I use autocomplete in IntelliJ with the PHP plugin active it comes up correctly. The problem is that I'm missing the documentation for the function calls. I know IntelliJ can "see" it because if I go over $this->connection->autocommit("foo"); and hit ctrl-Q I see the docs I'm looking for.

How do I...

  1. Get the PHPDocs to automatically appear when I'm doing autocomplete.
  2. Get the PHPDocs to automatically appear when I'm hovering over something.

enter image description here

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

  • 已采纳
    duanhan9479 duanhan9479 2013-04-10 07:17
    1. Autopopup documentation in... Note that it works only for the explicit completion, when you press Ctrl+Space.

    2. You can press Ctrl+Q when completing to get the popup. Automatic documentation on mouse however is not available in the current IDE version, but it may appear later as this feature was recently implemented in the platform.

    点赞 评论 复制链接分享

相关推荐