Couple of questions about "self" and "$this"

I've noticed there is no completion for "self" keyword (since first EAPs till the latest). Is it "a feature" or ...?

And as for "$this" - it would be just handy if its completion/suggestion behaviour acts the way it does in case of variables: ability being typed without "$" prefix.

Thanx.

3 comments
Comment actions Permalink

You have to write $this-> or self:: than it's work.
BTW I made live template for that, when I press "t" and than "tab" it's expand to $this->

0
Comment actions Permalink

DKX wrote:

You have to write $this-> or self:: than it's work
BTW I made live template for that, when I press "t" and than "tab" it's expand to $this->

Yeah, I know it. But it looks strange to me that when I type "se" there is no suggestion for the keyword "self", while typing, say, "pr" I get "private" ok. Same goes with "$this", but in the field of variables. Weird....

0

Please sign in to leave a comment.