Vladislav Kosev
Vladislav Kosev
See the yellow underline? That's the diagnostic. The hover is reporting phpstan errors.
It happens afterwards as well.
Currently the Rename just renames a class (just the name, not the namespace, which a move changes), but the same code could be used later for class moving.
Maybe we should map out what the changes would look like (e.g. indexer, worse reflection)?
I mean completion when defining them (as opposed to using them).
> Oh right -- do we want to encourage that - how often would somebody do that? 😄 Well, I agree with your point, but I really miss the `__construct`...
> In the second case we could be defining an anonymous function and completion should not be triggerd, IMO. We can check if that is the case. We would only...
It can. I played with this with the `KeywordCompletor`. At least when I tested it I had pretty good knowledge of where the user was.
What is the path of the file? Is the namespace correct?
Oh, I see. That's actually `ñ`, but URL encoded.