autocomplete in phpDoc suggests variables from other methods
Hello together,
I am a big fan of PHPStorm and currently learn and customize it to meet my requirements.
Now I noticed that the autocompletion in phpDoc suggests variables which aren't declared in that method. Neither as param nor as local variable. Is there some reason for this?

From my current view it should suggests variables from current method only or probably class attributes as well. Probably this can be configured somehow but I haven't found a solution.
Best regards,
AMartinNo1
Please sign in to leave a comment.
Hello,
Are these declared somewhere else in your project?
First, happy new year Vladimir.
Second, thanks for your response.
Third, sorry for the late response by me. Yes, they are declared within the same file but in different methods. Hence won't appear ever in phpDoc. for above method. I believe, when only scope-related variables will be suggested the overall programming performance would be increased.