简体   繁体   中英

How to activate function reference in WebStorm/PHPStorm?

Is there function reference integrated in PHPStorm/WebStorm ?

I mean like when i point my cursor on some php function , then I press eg F1 and it will show me function details (parameters, usage...) on separate page.

Is this integrated in phpstorm/webstorm ?

在任何引用上按Ctrl + Q查看文档弹出按任何引用打开外部链接的按Shift-F1(快速文档中提到的那个)

I finally figured it out on my imac. Its CTRL + J on MAC

您也可以按住Ctrl并将鼠标悬停在上面进行快速定义,然后单击(默认情况下)函数名称以跳转到函数定义本身。

In addition to the other answers there is Ctrl+Shift+I which pops up a modal with the actual function definition. Further, if you then release Shift+I while keeping Ctrl pressed the call to the function will turn into a link when you mouse over it and clicking it takes you to the source full of the function definition.

Source: http://www.jetbrains.com/phpstorm/webhelp/viewing-definition.html#

选择该功能,然后在MAC上按fn + F1 ,在Windows上按CTRL + q

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM