Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to preview method contents in PhpStorm

Is it possible to preview method contents in PhpStorm? So -fx, I hover a method call and get a small popup window with the method definition. In the popup window I can check whats going on there and just close the popup when Im done.

This would really save some "jump into the method, check whats going on there, go back (even worse if the method was in the same file, so I have to remember the name or position of the method I was working on)"

like image 257
Banila Dagrov Avatar asked Feb 12 '14 10:02

Banila Dagrov


People also ask

How do I enable hints in PhpStorm?

In the Settings/Preferences dialog ( Ctrl+Alt+S ), go to Editor | Color Scheme | Language Defaults, then select Inline hints.

Is PhpStorm good for JavaScript?

With PhpStorm, you can develop modern web, mobile, and desktop applications with JavaScript and Node. js. PhpStorm also supports React, Angular, Vue. js, and other frameworks and provides tight integration with various tools for web development.

How do I see hints in IntelliJ?

Configure inlay hintsGo to Settings/Preferences | Editor | Inlay Hints. Alternatively, right-click a hint and select Hints Settings.

How do I search the whole project PhpStorm?

From the main menu, select Edit | Find | Find in Files Ctrl+Shift+F . In the search field, type your search string. Alternatively, in the editor, highlight the string you want to find and press Ctrl+Shift+F . PhpStorm places the highlighted string into the search field.


1 Answers

Is it possible to preview method contents in PhpStorm?

View | Quick Definition Ctrl + Shift + I

even worse if the method was in the same file, so I have to remember the name or position of the method I was working on

Navigate | Back Ctrl + Alt + Left

like image 119
LazyOne Avatar answered Sep 27 '22 21:09

LazyOne