简体   繁体   English

如何在WebStorm / PHPStorm中激活功能参考?

[英]How to activate function reference in WebStorm/PHPStorm?

Is there function reference integrated in PHPStorm/WebStorm ? 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. 我的意思是,当我将光标指向某个PHP函数时,然后按下例如F1,它将在单独的页面上显示功能详细信息(参数,用法...)。

Is this integrated in phpstorm/webstorm ? 这是集成在phpstorm / webstorm中吗?

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

I finally figured it out on my imac. 我终于在我的想象中想出来了。 Its CTRL + J on MAC MAC上的CTRL + J

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

In addition to the other answers there is Ctrl+Shift+I which pops up a modal with the actual function definition. 除了其他答案之外,还有Ctrl + Shift + I弹出一个带有实际功能定义的模态。 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. 此外,如果您在按住Ctrl的同时释放Shift + I,则当您将鼠标悬停在该功能上并单击它时,该功能的调用将变为链接,将您带到完整的功能定义源。

Source: http://www.jetbrains.com/phpstorm/webhelp/viewing-definition.html# 资料来源: http//www.jetbrains.com/phpstorm/webhelp/viewing-definition.html#

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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