New user question on intellisense/autocompletion
I just started a new job whereby I was asked to download PhpStorm 4.0.3 for php development. I've just started using it but had a quick question. The intellisense does not appear to be working. Does that feature need to be enabled? When I hover over a PHP method I get nothing.
The Development environment in my Project Settings is set as follows:
PHP language level: 5.4 (traits, short array syntax, etc.,)
Interpreter: PHP52 (5.2.17)
Any help/direction would be greatly appreciated.
Regards.
Please sign in to leave a comment.
Hi Melinda,
It is enabled by default. If it does not appears automatically, then it can always be invoked manually.
Please show a screenshot with a problem (and maybe some code as well). Based on the description I do not understand what do you expect to see and when.
In any case, few comments:
Thank you for the reply and sorry so late in responding. Let me clarify my question.
The issue is NOT autocompletion, and I should NOT have stated that in my title. The issue is INTELLISENSE. Meaning when my mouse hovers over a method name like "var_dump" or a METHOD that I've created, I was looking for something like Eclipse has whereby I can hover over a method name of my own making or a Java class or method name and see the description of that method or class and what the parameters are that it is looking for. Right now I have to stop and open a a browser and go to php.net and find the php method or class that I'm looking for to see what parameters or description is for it.
I don't know that a code screen shot of my mouse over the word "var_dump" or some other PHP method would help.
I hope that my issue is MORE clear. Any help/direction would be greatly appreciated.
Regards.
Message was edited by: Melinda Savoy
Hi Melinda,
View | Quick Documentation (Ctrl+Q)
There is no "documentation on hover" thing -- it needs to be invoked manually (when placing caret at the object (function/variable/class/ect name)). If Quick Documentation popup is pinned (always visible), it can be set to automatically display the documentation for currently active object.
On another hand -- when you hover mouse cursor over function name etc while holding Ctrl pressed, the hint will show you very brief function info (function name & basic parameter info).
If you need help during entering function parameters, you can use "View | Parameter Info" (can only be invoked when typing function parameters -- inside () brackets).
Thanks for the quick reply. I tried Ctrl+Q (I am assuming that is an uppercase Q) and even trying a lowercase q, I still do NOT get the Quick Documentation that you're talking about.
I'll keep trying. Again, your time is appreciated.
Regards.
Well, I have no idea what OS you have and what Keymap you are using, so it can be different from my default Windows settings. That's why I gave full command name: "Main Menu | View | Quick Documentation". See online help for more information: http://www.jetbrains.com/phpstorm/webhelp/viewing-inline-documentation.html
P.S.
I'm talkng about this window (how it looks and what it can display): http://devnet.jetbrains.net/message/5467642#5467642