开发者

How to activate function reference in WebStorm/PHPStorm?

开发者 https://www.devze.com 2023-01-21 07:55 出处:网络
Is there function reference integrated in 开发者_开发百科PHPStorm/WebStorm ? I mean like when i point my cursor on some php function , then I press e.g. F1 and it will show me function details (param

Is there function reference integrated in 开发者_开发百科PHPStorm/WebStorm ?

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

Is this integrated in phpstorm/webstorm ?


Press Ctrl+Q on any reference to see a doc popup Press Shift-F1 on any reference to open external link (the one lised in quick doc)


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


You can also hold down Ctrl and hover over for a quick definition and furthermore click (by default) on the function name to jump to the function definition itself.


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#


select the function, then press fn + F1 on MAC, press CTRL + q on Windows

0

精彩评论

暂无评论...
验证码 换一张
取 消